import { InjectionKey } from '@wakeadmin/demi'; import { FatI18nContentOptions } from './types'; import { UsePromiseCacheState } from '../hooks'; export declare const FatI18nContentKey: InjectionKey; /** * 本地缓存 */ export interface FatI18nContentCache { save(uuid: string, key: string, value: any): void; get(uuid: string, key: string): any; localPromiseCache: Map; } export declare const FatI18nContentCacheKey: InjectionKey; /** * 默认配置 */ export declare const FatI18nContentDefaultOptions: { enable: true; position: "rightCenter"; sourceLanguage: string; list: { icon: string; tag: string; name: string; }[]; genUUID: () => Promise; format: string; inject: (props: Record, badge: (props?: Record | undefined) => any, target: (props?: Record | undefined) => any) => JSX.Element; save: (id: string, changed: import("./types").FatI18nPackage[], content: import("./types").FatI18nPackage[]) => Promise; get: (id: string) => Promise; }; //# sourceMappingURL=constants.d.ts.map