export declare function stripPathLikeReferences(text: string): string;
export declare function hasArchitectureIntentSignal(intent: string | undefined): boolean;
export declare function decodeIndexedJsonString(value: unknown): unknown;
/**
 * 解析 MCP 输入中的契约对象。
 * @description 部分 MCP 客户端会把 z.unknown() 对象参数序列化为 JSON 字符串；
 *              入口层必须兼容字符串对象，避免后续机制访问数组字段时触发 JS 运行时错误。
 */
export declare function parseContractObject<T>(value: unknown, fieldName: string): {
    value?: T;
    error?: string;
};
/** 需要通过 parseContractObject 校验的契约字段列表 */
export declare const CONTRACT_OBJECT_FIELDS: readonly ["architecture_decision_workshop", "decision_workshop", "technology_decision_contract", "technology_decision_record", "detail_discipline_contract", "provided_details", "first_principles_frame", "brainstorm_session", "design_artifact_pack", "ood_solid_summary", "backend_implementation_work_package", "code_observability_work_package"];
/** 需要规范化的字段 */
export declare const NORMALIZED_FIELDS: Partial<Record<typeof CONTRACT_OBJECT_FIELDS[number], "decision_workshop">>;
//# sourceMappingURL=utils.d.ts.map