import { IdmpGlobalKey, IdmpOptions, IdmpPromise } from 'idmp'; declare const cacheDir: string; declare const getCachePath: (globalKey: string) => string; interface IExtraOptions { useMemoryCache?: boolean; } type IdmpLike = ((globalKey: IdmpGlobalKey, promiseFunc: IdmpPromise, options?: IdmpOptions) => Promise) & { flush: (globalKey: IdmpGlobalKey) => void; flushAll: () => void; }; declare const fsIdmpWrap: (_idmp: IdmpLike, namespace: string, extraOptions?: IExtraOptions) => { (globalKey: string, promiseFunc: IdmpPromise, options?: IdmpOptions): Promise; flush(globalKey: string): void; flushAll(): void; }; export default fsIdmpWrap; export { cacheDir, getCachePath, type IExtraOptions };