declare type CacheStoreCallback<T> = () => Promise<T>;
export declare function createCacheStore<T = string>(limit?: number): {
    cachedIndex: (id: string) => number;
    clear: () => void;
    get: (id: string, callback: CacheStoreCallback<T>) => Promise<T>;
    touch: (index: number) => void;
};
export {};
//# sourceMappingURL=cache-store.d.ts.map