import { RequestArgs } from './types.js';
export declare class Cache {
    #private;
    constructor(options?: {
        ttl: number;
    });
    getRequestKey(args: Omit<RequestArgs, 'path' | 'params'> & {
        url: URL;
    }): string;
    get(key: string): Promise<any>;
    set(key: string, promise: Promise<any>): void;
}
