import { ReactNode } from 'react';

type Lang = 'zh' | 'en';
interface I18nContextType {
    lang: Lang;
    setLang: (l: Lang) => void;
    t: (key: string) => string;
}
export declare function I18nProvider({ children }: {
    children: ReactNode;
}): import("react").JSX.Element;
export declare function useI18n(): I18nContextType;
export {};
//# sourceMappingURL=I18nContext.d.ts.map