/** * @public */ export type FastTag = (string | number)[]; export type FastTagPair = { type: FastTag; repl: FastTag; }; export type LanguageAliasMap = { [x: string]: FastTagPair[]; }; export type TerritoryAliasMap = { [x: string]: string[]; }; /** * Helper for the language tag parser to fix overlong region fields that may * or may not be variants. * * @internal */ export declare const replaceRegion: (region: string) => string | undefined; /** * Substitute territory subtag aliases, if any. * * @public */ export declare const substituteRegionAliases: (dst: FastTag) => void; export declare const stringToObject: (raw: string, d1: string, d2: string) => { [x: string]: string; };