/** The verification strategy to apply to a single acceptance criterion. */
export type VerifyType = 'grep_present' | 'grep_absent' | 'metric_max' | 'metric_min' | 'file_exists' | 'command' | 'manual';
/**
 * A machine-verifiable check block attached to an acceptance criterion.
 * Stored as an HTML comment in spec.md for backward-compatible rendering.
 */
export interface VerifyBlock {
    /** Verification strategy. */
    type: VerifyType;
    /** Regex pattern for grep_present / grep_absent checks. */
    pattern?: string;
    /** Glob pattern scoping the check (e.g. "src/**\/*.tsx"). */
    scope?: string;
    /** Glob pattern to exclude from the check. */
    exclude?: string;
    /** Expected numeric value — 0 for absent, N for counts or thresholds. */
    expected?: number;
    /** Shell command to run for 'command' type verifications. */
    command?: string;
    /** Human-readable description of what is being verified. */
    description: string;
}
/**
 * An acceptance criterion enriched with a machine-verifiable check block.
 */
export interface VerifiableCriterion {
    /** The original acceptance criterion text (without markdown list prefix). */
    text: string;
    /** The machine-verifiable check block. */
    verify: VerifyBlock;
}
/**
 * A template that maps keyword triggers in criterion text to a verification strategy.
 * Used internally by the criterion enricher to auto-classify criteria.
 */
export interface VerifyTemplate {
    /** Keywords (any match) that trigger this template. */
    keywords: string[];
    /** Verification type this template applies. */
    type: VerifyType;
    /** Pattern with optional {placeholder} substitution. */
    patternTemplate?: string;
    /** Scope glob with optional {placeholder} substitution. */
    scopeTemplate?: string;
    /** Default expected value for metric checks (e.g. line count threshold). */
    expected?: number;
    /** Human-readable description for the generated verify block. */
    description: string;
}
//# sourceMappingURL=verifiable-criteria.d.ts.map