import type { ContentBlock, GenerateOptions } from "@deepseek-ai/dsh-llm"; export declare const REPLAY_KIND = "dsh-llm-github-copilot-cli"; export declare const REPLAY_VERSION = 1; export interface PendingToolReplay { readonly toolCallId: string; readonly requestId: string; readonly toolName: string; readonly arguments: string; } export interface CopilotReplayState { readonly kind: typeof REPLAY_KIND; readonly version: typeof REPLAY_VERSION; readonly officialSessionId: string; readonly conversationId: string; readonly transcriptFingerprint: string; readonly model: string; readonly systemFingerprint: string; readonly toolCatalogFingerprint: string; readonly bootstrap: boolean; readonly purpose?: GenerateOptions["purpose"]; readonly dshSessionId?: string; readonly requestId?: string; readonly pending?: readonly PendingToolReplay[]; readonly pendingExpiresAt?: number; readonly integrityFingerprint: string; } export interface LocatedReplay { readonly state: CopilotReplayState; readonly assistantIndex: number; } export declare function locateHistoricalReplay(options: GenerateOptions): LocatedReplay | undefined; export declare function locateReplay(options: GenerateOptions): LocatedReplay | undefined; export declare function pendingReplayClosedBeforeLaterUser(options: GenerateOptions, replay: LocatedReplay): boolean; export declare function buildReplayState(input: { readonly options: GenerateOptions; readonly responseBlocks: readonly ContentBlock[]; readonly officialSessionId: string; readonly conversationId: string; readonly systemFingerprint: string; readonly toolCatalogFingerprint: string; readonly bootstrap: boolean; readonly requestId?: string; readonly pending?: readonly PendingToolReplay[]; readonly pendingExpiresAt?: number; }): CopilotReplayState; export declare function containsReplayMarker(value: unknown): boolean; //# sourceMappingURL=replay.d.ts.map