export type GateType = "implementation" | "verification" | "context" | "document";
export interface ChecklistItem {
    checked: boolean;
    text: string;
}
export interface PhaseGate {
    type: GateType;
    items: ChecklistItem[];
}
export interface ImplPhase {
    number: number;
    name: string;
    gates: PhaseGate[];
    blocker: string | null;
    forwardIntelligence: string | null;
}
export interface ParsedImpl {
    title: string;
    status: string;
    phases: ImplPhase[];
}
export declare function parseImplString(raw: string): ParsedImpl;
export declare function parseImpl(filePath: string): ParsedImpl;
export interface PhaseCompletion {
    phase: number;
    name: string;
    complete: boolean;
    totalItems: number;
    checkedItems: number;
    uncheckedByGate: Record<GateType, string[]>;
}
export declare function getPhaseCompletion(phase: ImplPhase): PhaseCompletion;
export declare function getAllPhaseCompletions(parsed: ParsedImpl): PhaseCompletion[];
