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