/**
 * Knowledge Sovereignty — 知识主权: drafts/quarantine/core 三级生命周期。
 * R10 advisory: 不 hard block，只产出 advisory 报告。
 *
 * 职责:
 * - quarantineGate: 检查知识条目是否在 quarantine 期
 * - promoteToQuarantine: 从 drafts 晋升到 quarantine（自动）
 * - promoteToCore: 从 quarantine 晋级到 core（需人工确认）
 * - 查询 quarantine 状态
 */
/** 默认隔离天数 */
export declare const DEFAULT_QUARANTINE_DAYS = 7;
export type KnowledgeTier = "draft" | "quarantine" | "core";
export interface KnowledgeSovereigntyEntry {
    name: string;
    file_path: string;
    tier: KnowledgeTier;
    quarantined_at: string | null;
    quarantine_expires_at: string | null;
    can_reference: boolean;
    advisory: string;
}
export interface SovereigntyReport {
    total_entries: number;
    by_tier: Record<KnowledgeTier, number>;
    quarantine_entries: KnowledgeSovereigntyEntry[];
    can_promote_to_core: Array<{
        name: string;
        file_path: string;
    }>;
    summary: string;
}
/**
 * 检查条目是否在 quarantine 期 — advisory only, 不 hard block。
 * quarantine 期间条目可被引用，但标记为 advisory。
 */
export declare function quarantineGate(entry: KnowledgeSovereigntyEntry): {
    allowed: boolean;
    advisory: string;
};
/**
 * 将 drafts 中的条目晋升到 quarantine — 自动，不需要人工确认。
 */
export declare function promoteToQuarantine(draftPath: string, knowledgeDir: string, quarantineDays?: number): Promise<KnowledgeSovereigntyEntry | null>;
/**
 * 将 quarantine 中的条目晋级到 core — 需要人工确认。
 * confirm=false 时只返回预览，不执行晋级。
 */
export declare function promoteToCore(quarantinePath: string, knowledgeDir: string, confirm: {
    confirmed: boolean;
    confirmed_by: string;
    reason: string;
}): Promise<{
    success: boolean;
    target_path: string;
    advisory: string;
}>;
/**
 * 扫描 knowledge 目录，生成主权报告。
 */
export declare function generateSovereigntyReport(knowledgeDir: string): Promise<SovereigntyReport>;
//# sourceMappingURL=knowledge_sovereignty.d.ts.map