/** Severity classification for a spec gap. */
export type GapSeverity = 'low' | 'medium' | 'high';
/** A single hash-chained entry in the gaps JSONL log. */
export interface GapEntry {
    /** Unique identifier for this entry (UUID). */
    id: string;
    /** ISO-8601 timestamp. */
    timestamp: string;
    /** Spec where the gap was discovered. */
    specId: string;
    /** Human-readable description of the gap. */
    description: string;
    /** Severity of the gap — defaults to 'medium'. */
    severity: GapSeverity;
    /** Specs affected by this gap (defaults to [specId]). */
    affectedSpecs: string[];
    /** SHA-256 of the previous entry (empty string for first entry). */
    prevSha: string;
    /** SHA-256 of this entry's canonical JSON (excluding this field). */
    sha: string;
}
/** Input for appending a gap entry. */
export interface AppendGapEntryInput {
    projectId: string;
    specId: string;
    description: string;
    severity?: GapSeverity;
    affectedSpecs?: string[];
}
/** Result of verifying the hash chain of a gaps log file. */
export interface GapsLogChainResult {
    valid: boolean;
    totalEntries: number;
    brokenAt: number | null;
}
//# sourceMappingURL=gap.d.ts.map