declare class MemoryCache {
    private cache;
    set<T>(key: string, value: T, ttl?: number): void;
    get<T>(key: string): T | undefined;
    delete(key: string): void;
    clear(): void;
    getOrSet<T>(key: string, fn: () => Promise<T>, ttl?: number): Promise<T>;
}
export declare const cache: MemoryCache;
export {};
