/**
 * 可消费资产注册表 — 类型定义与辅助工厂函数。
 */
export type ConsumptionMode = "required" | "supporting" | "advisory" | "manual_reference" | "copy_only" | "state_runtime" | "deprecated";
export type AssetKind = "acceptance_template" | "procedure" | "pipeline_procedure" | "knowledge_pattern" | "capability_knowledge_doc" | "domain_rule" | "governance_rule" | "review_rule" | "checklist" | "product_profile" | "scaffold_template" | "global_pattern" | "adapter_workflow_template" | "adapter_rules_generator" | "pipeline_artifact" | "pipeline_rule" | "stage_gate";
export interface ConsumableAssetRef {
    id: string;
    path: string;
    asset_kind: AssetKind;
    owner: string;
    consumers: string[];
    trigger: string;
    consumption_mode: ConsumptionMode;
    required_tests: string[];
    owner_mechanism_id?: string;
    related_mechanism_ids?: string[];
    notes?: string;
    /** 引用 artifact_schema_registry 中的 ArtifactKind — acceptance_template 资产与 Schema 的关联 */
    artifact_schema_ref?: string;
}
/** 创建验收模板资产引用的辅助函数 */
export declare function acc(name: string, mode?: ConsumptionMode, overrides?: Partial<ConsumableAssetRef>): ConsumableAssetRef;
/** 创建流水线流程资产引用的辅助函数 */
export declare function proc(name: string, mechanismId?: string): ConsumableAssetRef;
/** 创建能力知识文档资产引用的辅助函数 */
export declare function corePattern(name: string, mechanismId?: string): ConsumableAssetRef;
/** 创建领域规则资产引用的辅助函数 */
export declare function domainRule(name: string, mechanismId?: string): ConsumableAssetRef;
/** 创建审查规则资产引用的辅助函数 */
export declare function reviewRule(name: string, mechanismId?: string): ConsumableAssetRef;
/** 创建骨架模板资产引用的辅助函数 */
export declare function scaffold(framework: string, file: string): ConsumableAssetRef;
/** 创建全局模式资产引用的辅助函数 */
export declare function globalPattern(name: string): ConsumableAssetRef;
/** 创建检查清单资产引用的辅助函数 */
export declare function checklist(name: string, mechanismId?: string): ConsumableAssetRef;
/** 创建流程规则资产引用的辅助函数 */
export declare function flowRule(name: string, mechanismId?: string): ConsumableAssetRef;
/** 创建共享管线产物模板资产引用 */
export declare function sharedArtifact(name: string): ConsumableAssetRef;
/** 创建共享管线规则资产引用 */
export declare function sharedRule(name: string): ConsumableAssetRef;
/** 创建共享门禁 YAML 资产引用 */
export declare function sharedGate(name: string): ConsumableAssetRef;
/** 创建新系统管线产物模板资产引用 */
export declare function newSystemArtifact(name: string): ConsumableAssetRef;
/** 创建新系统管线规则资产引用 */
export declare function newSystemRule(name: string): ConsumableAssetRef;
/** 创建老系统管线产物模板资产引用 */
export declare function existingArtifact(name: string, ext?: string): ConsumableAssetRef;
/** 创建老系统管线规则资产引用 */
export declare function existingRule(name: string): ConsumableAssetRef;
/** 创建老系统门禁 YAML 资产引用 */
export declare function existingGate(name: string): ConsumableAssetRef;
//# sourceMappingURL=types.d.ts.map