export declare class BoundedCache { private readonly maxSize; private readonly map; constructor(maxSize: number); get(key: K): V | undefined; has(key: K): boolean; set(key: K, val: V): void; delete(key: K): boolean; clear(): void; } export declare class DiscordRuntimeCaches { readonly participatedChannels: BoundedCache; readonly dmChannelByUser: BoundedCache; readonly userDisplayNames: BoundedCache; readonly channelNames: BoundedCache; readonly ambientMessages: BoundedCache; private readonly botTurns; recordAmbient(channelKey: string, entry: { id: string; author: string; content: string; }, max?: number): void; consumeBotLoopBudget(key: string, maxTurns: number, windowMs: number, now?: number): boolean; clear(): void; }