import { CacheInterface, CacheOptions } from '../types';
export declare class MemoryCache implements CacheInterface {
    private cache;
    private defaultTTL;
    constructor(defaultTTL?: number);
    get<T>(key: string): T | undefined;
    set<T>(key: string, value: T, options?: Partial<CacheOptions>): void;
    has(key: string): boolean;
    delete(key: string): boolean;
    clear(): void;
    private cleanExpired;
}
