import { type ZodUnion, z, type ZodLiteral } from 'zod'; import { type Iso639LanguageCode } from '../iso639-language-code-schema.js'; import { type Iso31661Alpha2CountryCode } from '../iso31661-alpha2-country-code-schema.js'; type LocaleIdInput = `${Iso639LanguageCode}_${Iso31661Alpha2CountryCode}`; export type LocaleIdSchema = ZodUnion, ...ZodLiteral[]]>>; export declare const localeIdSchema: LocaleIdSchema; export type LocaleId = z.infer; export type Locale = { id: LocaleIdInput; countryCode: Iso31661Alpha2CountryCode; languageCode: Iso639LanguageCode; }; export declare const locales: readonly Locale[]; export {}; //# sourceMappingURL=locale-schema.d.ts.map