import type { ConnectedContextPack } from "@oscharko-dev/keiko-contracts/connected-context";
export interface GroundedTurnRecord {
    readonly assistantMessageId: string;
    readonly chatId: string;
    readonly workspaceRoot: string;
    readonly evidenceRunId?: string | undefined;
    readonly packs: readonly ConnectedContextPack[];
}
export interface GroundedTurnRegistry {
    remember: (record: GroundedTurnRecord, nowMs?: () => number) => void;
    lookup: (assistantMessageId: string, nowMs?: () => number) => GroundedTurnRecord | undefined;
    clearConversation: (chatId: string) => void;
    clearWorkspace: (workspaceRoot: string) => void;
    clearAll: () => void;
}
export declare function createGroundedTurnRegistry(ttlMs?: number, maxEntries?: number): GroundedTurnRegistry;
export declare const groundedTurnRegistry: GroundedTurnRegistry;
export declare function rememberGroundedTurn(record: GroundedTurnRecord, nowMs?: () => number): void;
export declare function lookupGroundedTurn(assistantMessageId: string, nowMs?: () => number): GroundedTurnRecord | undefined;
export declare function clearGroundedTurnsForConversation(chatId: string): void;
export declare function clearGroundedTurnsForWorkspace(workspaceRoot: string): void;
export declare function clearAllGroundedTurns(): void;
//# sourceMappingURL=grounded-turn-registry.d.ts.map