import { type HistoryEvent } from './agent-session-history.js'; export { BoundedHistory, boundHistoryPayload, fitHistoryBytes, type HistoryEvent } from './agent-session-history.js'; export { claudeToolKind } from './clis/claude/sessions.js'; export { resolveClaudeHome } from './clis/claude/index.js'; export { resolveCodexHome } from './clis/codex/index.js'; export interface SessionSummary { cli: string; session_id: string; cwd: string; title: string; created_at: string | null; updated_at: string; source: 'cli' | 'awb'; size_bytes?: number; } export interface HistoryResult { session: SessionSummary | null; events: HistoryEvent[]; truncated: boolean; } export interface AwbSessionIndexEntry { cli: string; session_id: string; cwd: string; title: string; created_at: string; updated_at: string; } export interface AgentSessionStoreOptions { homes?: Record; claudeHome?: string; codexHome?: string; exec?: (bin: string, args: string[]) => Promise; opencodeQuery?: (sql: string) => Promise; indexPath?: string; listLimit?: number; historyEventLimit?: number; env?: NodeJS.ProcessEnv; } export declare class AgentSessionStore { #private; readonly indexPath: string; constructor(options?: AgentSessionStoreOptions); get claudeHome(): string; get codexHome(): string; listSessions(cli: string): Promise; findSessionFile(cli: string, sessionId: string): Promise; readHistory(cli: string, sessionId: string): Promise; recordAwbSession(entry: { cli: string; session_id: string; cwd: string; title: string; }): Promise; touchAwbSession(cli: string, sessionId: string, patch?: { title?: string; }): Promise; }