/**
 * 发布模块共享类型定义。
 *
 * 集中定义 release/ 目录下多处引用的接口，消除重复 any。
 */
import type { TemplateAssetContract } from "../templates/template_asset_contract_registry.js";
import type { ConsumptionTraceEntry } from "../templates/consumption_trace_store.js";
export type { TemplateAssetContract, ConsumptionTraceEntry };
/** MCP 工具调用请求参数（工具函数入参的通用类型） */
export type ToolRequest = Record<string, unknown>;
/** MCP 工具 schema 参数描述 */
export type McpToolSchema = Record<string, unknown>;
/** observeAllConsumption 返回的单条观察 */
export interface ObservationEntry {
    consume_category: string;
    validation_result: string;
    contract_decision?: string;
    asset_path: string;
}
/** sf_scaffold 返回的生成文件条目 */
export interface ScaffoldGeneratedFile {
    path: string;
    content?: string;
}
/** KnowledgeIndexManager.getAllEntries() 返回的索引条目 */
export interface KnowledgeIndexEntry {
    name?: string;
    file_path?: string;
    body?: string;
}
/** sf_verify 返回的设计产物检查 finding */
export interface DesignArtifactFinding {
    code: string;
    message?: string;
    details?: string;
}
/** advisory-report.json 中 blocked 数组的条目 */
export interface AdvisoryBlockedItem {
    severity: string;
    package: string;
    title: string;
}
/** validateControlPlaneToolContracts / assessControlledGenerationChain 返回的 finding */
export interface ContractValidationFinding {
    code: string;
    severity: string;
    message?: string;
}
/** selectProjectKnowledgeForTask 返回的选择条目 */
export interface ProjectKnowledgeSelection {
    asset: {
        id: string;
        [key: string]: unknown;
    };
    reason_zh?: string;
    matched_signals?: string[];
    [key: string]: unknown;
}
/** auditProjectKnowledge 返回的资产条目 */
export interface ProjectKnowledgeAssetAudit {
    findings: Array<{
        code: string;
        [key: string]: unknown;
    }>;
}
/** planNextAction.confirmation_decisions 中的 auto_resolvable 条目 */
export interface NavigationAutoResolvableItem {
    id: string;
    command_hint?: string;
}
/** expand 结果中 matched_knowledge 的条目 */
export interface MatchedKnowledgeEntry {
    id?: string;
    name?: string;
}
/** routeIntent 返回的 input_materials 条目 */
export interface InputMaterial {
    kind: string;
    [key: string]: unknown;
}
//# sourceMappingURL=types.d.ts.map