/**
 * 问题二十六: Detail Discipline — 细节纪律契约。
 *
 * 强制执行:
 * - detail discipline 不能停留在 checklist，必须接入验证与交付 gate
 */
import type { DetailDisciplineContract, DetailDisciplineCheck, DetailRiskItem } from "./extension_platform_contracts.js";
export interface DetailDisciplineResult {
    passed: boolean;
    blocking_items: DetailRiskItem[];
    warnings: DetailRiskItem[];
    checked_dimensions: string[];
    missing_details: string[];
}
/**
 * 创建细节纪律契约。
 */
export declare function createDetailDisciplineContract(overrides: Partial<DetailDisciplineContract> & Pick<DetailDisciplineContract, "contract_id">): DetailDisciplineContract;
/**
 * 执行细节纪律检查。
 * 对目标（设计/实现/工作流/模板/产物）进行维度检查，返回缺失细节和风险项。
 */
export declare function performDetailCheck(contract: DetailDisciplineContract, targetId: string, targetType: DetailDisciplineCheck["target_type"], providedDetails: Record<string, string[]>): DetailDisciplineCheck;
/**
 * 从检查结果生成风险项列表。
 */
export declare function generateRiskItems(check: DetailDisciplineCheck): DetailRiskItem[];
/**
 * 汇总多次检查结果。
 */
export declare function summarizeDetailChecks(checks: DetailDisciplineCheck[]): DetailDisciplineResult;
/**
 * 检查细节纪律是否接入交付 gate。
 * 如果检查结果为 blocking，交付 gate 必须阻止交付。
 */
export declare function checkDetailGateIntegration(check: DetailDisciplineCheck, deliveryGateActive: boolean): {
    allowed: boolean;
    reason: string;
};
//# sourceMappingURL=detail_discipline.d.ts.map