import { NumberFormatDigitInternalSlots, NumberFormatDigitOptions } from './number-types'; /** * https://tc39.es/ecma262/#sec-toobject * @param arg */ export declare function toObject(arg: T): T extends null ? never : T extends undefined ? never : T; /** * https://tc39.es/ecma262/#sec-tostring */ export declare function toString(o: unknown): string; /** * https://tc39.es/ecma402/#sec-getoption * @param opts * @param prop * @param type * @param values * @param fallback */ export declare function getOption(opts: T, prop: K, type: 'string' | 'boolean', values: T[K][] | undefined, fallback: F): Exclude | F; /** * https://tc39.es/ecma402/#sec-defaultnumberoption * @param val * @param min * @param max * @param fallback */ export declare function defaultNumberOption(val: any, min: number, max: number, fallback: number): number; /** * https://tc39.es/ecma402/#sec-getnumberoption * @param options * @param property * @param min * @param max * @param fallback */ export declare function getNumberOption(options: T, property: K, minimum: number, maximum: number, fallback: number): number; export declare function getAliasesByLang(lang: string): Record; export declare function getParentLocalesByLang(lang: string): Record; export declare function setInternalSlot(map: WeakMap, pl: Instance, field: Field, value: NonNullable[Field]): void; export declare function setMultiInternalSlots(map: WeakMap, pl: Instance, props: Pick, K>): void; export declare function getInternalSlot(map: WeakMap, pl: Instance, field: Field): Internal[Field]; export declare function getMultiInternalSlots(map: WeakMap, pl: Instance, ...fields: Field[]): Pick; export interface LiteralPart { type: 'literal'; value: string; } export declare function isLiteralPart(patternPart: LiteralPart | { type: string; value?: string; }): patternPart is LiteralPart; export declare function partitionPattern(pattern: string): ({ type: string; value: string; } | { type: string; value: undefined; })[]; /** * https://tc39.es/ecma402/#sec-setnfdigitoptions * https://tc39.es/proposal-unified-intl-numberformat/section11/numberformat_diff_out.html#sec-setnfdigitoptions * @param intlObj * @param opts * @param mnfdDefault * @param mxfdDefault */ export declare function setNumberFormatDigitOptions(internalSlotMap: WeakMap, intlObj: TObject, opts: NumberFormatDigitOptions, mnfdDefault: number, mxfdDefault: number): void; export declare function objectIs(x: any, y: any): boolean; /** * https://tc39.es/proposal-unified-intl-numberformat/section6/locales-currencies-tz_proposed_out.html#sec-iswellformedcurrencycode * @param currency */ export declare function isWellFormedCurrencyCode(currency: string): boolean; //# sourceMappingURL=polyfill-utils.d.ts.map