import type { ProgressSnapshot } from "../core/progress/types.js"; export interface ProgressManager { /** Current snapshot for GET /progress + the SSE ready path. */ snapshot: () => ProgressSnapshot; /** Award XP for one successfully completed run (prompt + any new commits). */ awardRun: (cwd: string, runStartedAt: number, originId?: string) => Promise; /** Close the ~/.gg fs.watch + clear any pending debounce (leak-free shutdown). */ dispose: () => void; } export declare function createProgressManager(agentDir: string, broadcastAll: (snapshot: ProgressSnapshot, originId?: string) => void): Promise;