import { ReactNode } from 'react'; import { Translations } from './strings/en.js'; export declare const LOCALES: readonly ["en", "sv", "no"]; export type Locale = typeof LOCALES[number]; export declare const DEFAULT_LOCALE: Locale; export interface LocaleProviderProps { locale: Locale; children: ReactNode; } export declare function LocaleProvider({ locale, children }: LocaleProviderProps): import("react/jsx-runtime").JSX.Element; type Interpolations = Record; export declare function translate(locale: Locale, key: string, vars?: Interpolations): string; export declare function useLocale(override?: Locale): { locale: Locale; t: (key: string, vars?: Interpolations) => string; }; export type { Translations }; //# sourceMappingURL=index.d.ts.map