/** * Cross-session recall coordinator. One worker belongs to one provider/session generation; no * process-global transcript index is shared across sessions. */ import type { MemoryCapabilities, MemoryLifecycleContext, MemoryProvider } from "../memory-provider.ts"; export interface TranscriptRecallProviderOptions { workerSpecifier?: string | URL; maxPendingQueries?: number; } export declare class TranscriptRecallProvider implements MemoryProvider { readonly name = "transcript-recall"; readonly egress = "local"; private readonly workerSpecifier; private readonly maxPendingQueries; private worker; private generation; private requestId; private ready; private readyPromise; private resolveReady; private readonly pending; constructor(options?: TranscriptRecallProviderOptions); isAvailable(): boolean; getCapabilities(): MemoryCapabilities; initialize(sessionId: string, ctx: MemoryLifecycleContext): Promise; shutdown(): Promise; /** Event-driven readiness hook for tests and callers that can wait outside the foreground turn. */ waitUntilReady(): Promise; /** GC manages the dynamic recall page so stale pages pack while the newest are kept. */ getContextMarkers(): string[]; prefetch(query: string): Promise; private handleWorkerMessage; private handleWorkerFailure; private finishReady; private finishQuery; private finishQueriesFor; private disposeWorker; } //# sourceMappingURL=transcript-recall.d.ts.map