import { type NativeThreadCandidate } from "./managed-session.js"; import { type NativeThreadResumeSnapshot, type NativeThreadResumeSnapshotRow } from "./native-thread-resume-snapshot-policy.js"; import { type TerminalControlRef } from "./terminal-control-ref.js"; export interface NativeThreadResumeSelection { snapshot: NativeThreadResumeSnapshot; row: NativeThreadResumeSnapshotRow; } export declare function createNativeThreadResumeSnapshot({ storeDir, selectionScope, terminalId, agent, workspace, terminalControl, currentSessionId, currentNativeThreadId, expectedBindingToken, terminalActionFingerprint: actionFingerprint, candidates, now, ttlMs }: { storeDir: string; selectionScope: string; terminalId: string; agent: string; workspace: string; terminalControl: { target: string; socketPath?: string; panePid?: number; } | TerminalControlRef; currentSessionId?: string; currentNativeThreadId?: string; expectedBindingToken: string; terminalActionFingerprint: string; candidates: readonly NativeThreadCandidate[]; now?: Date; ttlMs?: number; }): NativeThreadResumeSnapshot; export declare function saveNativeThreadResumeSnapshot(runtimeDir: string, storeDir: string, snapshot: NativeThreadResumeSnapshot, now?: Date): void; export declare function loadNativeThreadResumeSnapshot(runtimeDir: string, storeDir: string, snapshotId: string, now?: Date): NativeThreadResumeSnapshot; export declare function resolveNativeThreadResumeSelection({ runtimeDir, storeDir, terminalId, selectionScope, snapshotId, selectionNumber, shortId, selectionHandle, now }: { runtimeDir: string; storeDir: string; terminalId: string; selectionScope: string; snapshotId?: string; selectionNumber?: number; shortId?: string; selectionHandle?: string; now?: Date; }): NativeThreadResumeSelection;