frontend/.pnpm-store/v3/files/2c/4c062c9fc36ebe2e1a86aa721c842c7c98d50e43f878b99d8adc1cd1dab31da03609ab03986e2ffc0dd79dba958b00444b0cd8033bd8c550897bc23b113441

11 lines
724 B
Plaintext

import type { LocaleDictionary, LocalesDictionary } from '../types/index';
declare const $dictionary: import("svelte/store").Writable<LocalesDictionary>;
export declare function getLocaleDictionary(locale: string): LocaleDictionary;
export declare function getDictionary(): LocalesDictionary;
export declare function hasLocaleDictionary(locale: string): boolean;
export declare function getMessageFromDictionary(locale: string, id: string): any;
export declare function getClosestAvailableLocale(refLocale: string): string | null;
export declare function addMessages(locale: string, ...partials: LocaleDictionary[]): void;
declare const $locales: import("svelte/store").Readable<string[]>;
export { $dictionary, $locales };