/**
 * 能力状态登记表 — 声明每个治理能力的当前等级，防止文档和实现过度承诺。
 *
 * P1-4 范围: 状态登记 + policy_id + 交叉引用 + 晋级/降级条件与证据要求（只读）。
 * 不做自动晋级/降级，不接抽检池，不改状态。
 *
 * 状态等级:
 * - enforced: 强制执行，违规即 hard fail，阻断流程
 * - advisory: 建议执行，违规仅产生 advisory 警告，不阻断流程
 * - experimental: 实验性，接口和行为可能变更，仅供内部评估
 * - removed: 已移除，保留登记用于追溯
 */
export type CapabilityState = "enforced" | "advisory" | "experimental" | "removed";
export interface CapabilityEntry {
    id: string;
    name: string;
    state: CapabilityState;
    owner_module: string;
    evidence: string;
    policy_id: string;
    code_files: string[];
    test_files: string[];
    lifecycle_test_files: string[];
    knowledge_docs: string[];
    prompt_files: string[];
    promotion_conditions: string[];
    demotion_conditions: string[];
    evidence_requirements: string[];
    promoted_at?: string;
    demoted_at?: string;
    reason: string;
}
export interface CapabilitySummary {
    enforced: string[];
    advisory: string[];
    experimental: string[];
    removed: string[];
    can_hard_fail: string[];
    cannot_hard_fail: string[];
}
/**
 * 执行 getAllCapabilities 操作
 */
export declare function getAllCapabilities(): CapabilityEntry[];
/**
 * 执行 getCapability 操作
 */
export declare function getCapability(id: string): CapabilityEntry | undefined;
/**
 * 执行 getCapsByState 操作
 */
export declare function getCapsByState(state: CapabilityState): CapabilityEntry[];
/**
 * 执行 canHardFail 操作
 */
export declare function canHardFail(id: string): boolean;
/**
 * 执行 getSummary 操作
 */
export declare function getSummary(): CapabilitySummary;
export interface PolicyRef {
    policy_id: string;
    capability_id: string;
    state: CapabilityState;
    code_files: string[];
    test_files: string[];
    lifecycle_test_files: string[];
    knowledge_docs: string[];
    prompt_files: string[];
}
/**
 * 执行 getAllPolicyRefs 操作
 */
export declare function getAllPolicyRefs(): PolicyRef[];
/**
 * 执行 getDriftPolicyRefs 操作
 */
export declare function getDriftPolicyRefs(): PolicyRef[];
//# sourceMappingURL=capability_registry.d.ts.map