export interface RalphState { active: boolean; iteration: number; maxIterations: number; completedSlices: number; startedAt: string; prompt: string; sessionId?: string; projectPath: string; } export interface StartRalphOptions { cwd?: string; prompt: string; sessionId?: string; maxIterations?: number; } export declare function startRalph(opts: StartRalphOptions): RalphState; export declare function readRalph(cwd?: string): RalphState | undefined; export declare function cancelRalph(cwd?: string): void; export interface RalphTickResult { ok: boolean; state?: RalphState; reason?: string; } export declare function tickRalph(cwd?: string): RalphTickResult; export declare function buildRalphContext(state: RalphState): string;