import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { FabricCacheHoldOptions, FabricCacheHoldResult, FabricCacheLease } from "./types.js"; export declare const MAX_CACHE_LEASE_MS: number; export declare const MAX_CACHE_LEASES = 128; export declare class CacheLeases { #private; private readonly pi; private readonly sessionId; private readonly foregroundTools; constructor(pi: ExtensionAPI, sessionId: string, foregroundTools?: () => readonly string[]); supported(context: ExtensionContext): boolean; get cleanupError(): string | null; values(): FabricCacheLease[]; reconcile(context: ExtensionContext): void; hold(options: FabricCacheHoldOptions, context: ExtensionContext, scope: FabricCacheLease["scope"], invocationId: string, signal?: AbortSignal): FabricCacheHoldResult; release(id: string): { released: boolean; cleanupError: string | null; }; dispose(id: string): void; invocationEnded(id: string): void; invalidate(): void; close(): void; } //# sourceMappingURL=leases.d.ts.map