export declare const cache: (max: number, ttl?: number) => { get: (key: string, fetcher: () => Promise, ttl?: number) => Promise; };