import type { Spec } from '../../types/index.js';
import type { CriterionGroundingRecord, GroundingGateResult, TechnicalReferenceGroundingRecord } from '../../types/spec-grounding.js';
export declare function normalizeCriterionText(text: string): string;
export declare function isGenericCriterion(text: string): boolean;
export declare function filterGroundedCriteria(criteria: string[]): string[];
export declare function buildCriterionGroundingRecords(args: {
    criteria: string[];
    userInput: string;
    projectEvidence?: string[];
    generatedEvidence?: string[];
}): CriterionGroundingRecord[];
export declare function getContractCriteria(records: CriterionGroundingRecord[]): CriterionGroundingRecord[];
export declare function getAdvisoryCriteria(records: CriterionGroundingRecord[]): CriterionGroundingRecord[];
export declare function renderGroundingFrontmatter(records: CriterionGroundingRecord[]): string[];
export declare function renderTechnicalReferenceGroundingFrontmatter(records: TechnicalReferenceGroundingRecord[]): string[];
export declare function checkGroundedSpecContract(spec: Spec, content: string): GroundingGateResult;
export declare function parseCriterionGroundingRecords(frontmatter: string): CriterionGroundingRecord[];
export declare function parseTechnicalReferenceGroundingRecords(frontmatter: string): TechnicalReferenceGroundingRecord[];
//# sourceMappingURL=contract.d.ts.map