import type { SvelteFluent } from './fluent.js'; import { getTranslation } from './translation.js'; type getTranslationArgs = typeof getTranslation extends (fluent: SvelteFluent, ...rest: infer R) => unknown ? R : never; export type FluentContext = { localize: SvelteFluent['localize']; }; type FluentContextInternal = { getTranslation: (...args: getTranslationArgs) => ReturnType; public: FluentContext; }; export declare function initFluentContext(fn: () => SvelteFluent): FluentContext; export declare function getInternalFluentContext(): FluentContextInternal; export declare function getFluentContext(): FluentContext; export {};