import type { AgentService } from '../agent/service.js'; import type { SessionIndex } from '../session/index.js'; export type SessionResetDeps = { sessionIndex: SessionIndex; getAgentService: () => AgentService; }; export type SessionResetResult = { ok: true; sessionId: string; previousSessionId?: string; } | { ok: false; error: string; }; /** * Reset a session in place: archive the current transcript, assign a new * `sessionId`, keep the session key and persisted overrides (model/thinking in * SQLite `session_config`, thinking/verbose on the session row). */ export declare function performSessionReset(sessionKey: string, deps: SessionResetDeps): Promise;