/**
 * Knowledge Asset Generation Gate — 问题五十七核心机制之四。
 *
 * 新增或修改知识资产前必须通过准入门:
 * - Schema 校验
 * - 重复/冲突校验
 * - Owner 校验
 * - 消费路径校验
 * - 中文质量门
 * - 回归门
 */
import type { KnowledgeAssetFrontmatter } from "./knowledge_asset_schema.js";
import type { KnowledgeAssetAuditFinding } from "./knowledge_asset_audit.js";
/** 资产生成门输入 */
export interface KnowledgeAssetGenerationGateInput {
    asset: {
        frontmatter: Partial<KnowledgeAssetFrontmatter>;
        body: string;
        file_path: string;
    };
    existing_assets: Array<{
        frontmatter: Partial<KnowledgeAssetFrontmatter>;
        file_path: string;
    }>;
    user_modified_assets: string[];
}
/** 资产生成门结果 */
export interface KnowledgeAssetGenerationGateResult {
    passed: boolean;
    generation_gate_status: "accepted" | "rejected" | "needs_revision";
    findings: KnowledgeAssetAuditFinding[];
    reason_zh: string;
}
/**
 * 验证知识资产生成门 — 新增资产必须通过所有检查。
 */
export declare function validateKnowledgeAssetGenerationGate(input: KnowledgeAssetGenerationGateInput): KnowledgeAssetGenerationGateResult;
//# sourceMappingURL=knowledge_asset_generation_gate.d.ts.map