export declare const PROGRESS_PHASES: readonly ["start", "bundle", "description", "stats", "code-preview", "discover", "parse", "index", "graph", "serialize", "deserialize", "cache-check", "cache-load", "cache-save", "chunk", "code-chunk", "inspect", "references", "cross-references", "document-chunk", "discover-documents", "parse-documents", "structure", "outline", "code", "complete"];
export type ProgressPhase = (typeof PROGRESS_PHASES)[number];
export declare function isProgressPhase(value: string): value is ProgressPhase;
export interface ProgressEvent {
    phase: ProgressPhase;
    total: number;
    completed: number;
    detail?: string;
    scope?: string;
    currentPath?: string;
    bytesProcessed?: number;
    totalBytes?: number;
    startedAt?: number;
    elapsedMs?: number;
    parentReadStartedAt?: number;
    parentReadFinishedAt?: number;
    parentReadDurationMs?: number;
    section?: string;
    sectionStartedAt?: number;
    sectionFinishedAt?: number;
    sectionDurationMs?: number;
    cleanupDurationMs?: number;
}
export type OnProgress = (event: ProgressEvent) => void;
