/**
 * Mechanism Contract Registry — 类型定义。
 */
export type MechanismType = "routing" | "classification" | "expansion" | "knowledge_matching" | "state_lifecycle" | "planning" | "verification" | "review" | "analysis" | "scaffolding" | "delivery" | "learning" | "governance" | "safety" | "observability" | "initialization" | "feedback" | "artifact_management" | "contract_enforcement" | "access_control";
export type MechanismStatus = "enforced" | "advisory" | "experimental" | "deprecated";
export interface MechanismContract {
    id: string;
    name: string;
    owner_module: string;
    owner_files?: string[];
    owner_exports?: string[];
    mechanism_type: MechanismType;
    status: MechanismStatus;
    trigger: string;
    required_inputs: string[];
    preconditions: string[];
    outputs: string[];
    downstream_consumers: string[];
    state_transitions?: string[];
    cleanup_hooks?: string[];
    failure_modes: string[];
    degradation_behavior: string;
    tests: string[];
    lifecycle_tests: string[];
    notes?: string;
}
export interface MechanismGovernanceFinding {
    severity: "hard_fail" | "advisory";
    contract_id: string;
    field: string;
    message: string;
}
//# sourceMappingURL=types.d.ts.map