import type { ToolResultSummary } from "./success-detector.js"; export interface SessionState { setAnchorIds(ids: readonly string[]): void; getAnchorIds(): readonly string[]; clearAnchorIds(): void; recordToolResult(result: ToolResultSummary): void; getRecentToolResults(): readonly ToolResultSummary[]; } export interface SessionStateOptions { ringSize?: number; } /** * Create a fresh session state tracker. All state is in-process; the * lifetime matches the extension instance that the hook factories close * over (typically the duration of a single pi session). */ export declare function createSessionState(options?: SessionStateOptions): SessionState; //# sourceMappingURL=session-state.d.ts.map