import type { Locale, Direction } from '../types/locale'; import type { DeepPartial } from '../types/utils'; interface DefineLocaleOptions { name: string; code: string; locale: string; dir?: Direction; messages: M; } export declare function defineLocale(options: DefineLocaleOptions): Locale; export declare function extendLocale(locale: Locale, options: Partial>>): Locale; export {};