/**
 * Knowledge Consumption Snapshot — 问题五十七核心机制之三。
 *
 * 追踪知识资产在 prompt 构建过程中的消费路径：
 * - 哪些资产被索引
 * - 哪些资产被注入 prompt
 * - 哪些资产被过滤及原因
 * - 哪些资产被降级及原因
 * - 冲突裁决结果
 */
/** 知识消费快照 */
export interface KnowledgeConsumptionSnapshot {
    build_id: string;
    route: string;
    indexed_assets: string[];
    injected_assets: string[];
    filtered_assets: Array<{
        asset_id: string;
        reason: string;
    }>;
    degraded_assets: Array<{
        asset_id: string;
        reason: string;
    }>;
    conflict_resolutions: Array<{
        winner: string;
        losers: string[];
        reason: string;
    }>;
    generated_at: string;
    total_indexed: number;
    total_injected: number;
    total_filtered: number;
    total_degraded: number;
    total_backlog?: number;
    backlog_assets?: Array<{
        asset_id: string;
        reason: string;
    }>;
}
/** 消费快照验证结果 */
export interface ConsumptionSnapshotValidation {
    passed: boolean;
    issues: string[];
    snapshot?: KnowledgeConsumptionSnapshot;
}
/**
 * 创建知识消费快照。
 */
export declare function createKnowledgeConsumptionSnapshot(params: {
    build_id: string;
    route: string;
    indexed_assets: string[];
    injected_assets: string[];
    filtered_assets?: Array<{
        asset_id: string;
        reason: string;
    }>;
    degraded_assets?: Array<{
        asset_id: string;
        reason: string;
    }>;
    conflict_resolutions?: Array<{
        winner: string;
        losers: string[];
        reason: string;
    }>;
}): KnowledgeConsumptionSnapshot;
/**
 * 验证消费快照的完整性。
 * 必须包含 indexed/injected/filtered/degraded/conflict_resolutions 五个维度。
 */
export declare function validateConsumptionSnapshot(snapshot: KnowledgeConsumptionSnapshot): ConsumptionSnapshotValidation;
/**
 * 生成消费快照摘要文本。
 */
export declare function summarizeConsumptionSnapshot(snapshot: KnowledgeConsumptionSnapshot): string;
/**
 * 检查消费链路是否可追踪 — route/expander/verifier/adapter prompt 是否消费了标准字段。
 */
export declare function verifyConsumptionPaths(params: {
    intent_router_consumes: string[];
    expander_consumes: string[];
    verifier_consumes: string[];
    adapter_prompt_consumes: string[];
    sync_migration_consumes?: string[];
}): {
    passed: boolean;
    missing: string[];
};
//# sourceMappingURL=knowledge_consumption_snapshot.d.ts.map