export declare type CacheOptions = {
    path: string;
    ttl: number;
};
export default function createCache(opts: CacheOptions): {
    set: <T>(key: string, value: T) => any;
    get: (id: string) => Promise<any>;
};
