import type { Session, SessionDecision, SessionFile, SessionActiveSpec } from '../../types/index.js';
/** Get the current in-memory session (may be null if none started). */
export declare function getCurrentSession(): Session | null;
/** Reset module state (for testing). */
export declare function resetSessionState(): void;
/** Start or resume a session for a project. */
export declare function startSession(projectId: string, existingSession?: Session): Session;
/** Record a tool call and maybe persist (debounce). */
export declare function onToolCall(projectId: string): Promise<void>;
/** Add an active spec to the current session. */
export declare function addActiveSpec(spec: SessionActiveSpec): void;
/** Add a decision to the current session. */
export declare function addDecision(decision: SessionDecision): void;
/** Add a modified file to the current session. */
export declare function addModifiedFile(file: SessionFile): void;
/** Force-save the current session to disk (bypasses debounce). */
export declare function persistCurrentSession(): Promise<void>;
//# sourceMappingURL=auto-save.d.ts.map