type ApiSpecAxis = "business_code_conflict"; export interface ApiSpecFinding { axis: ApiSpecAxis; message: string; } export interface ApiBusinessCodeInput { apiSpecContent: string; scopeApi: boolean; } /** 同一业务码跨 endpoint 必须保持同一 HTTP 语义。 */ export declare function validateApiBusinessCodeUniqueness(input: ApiBusinessCodeInput): ApiSpecFinding[]; export interface MarkdownField { name: string; type?: string; required?: boolean; } /** 从 api_spec.md 提取每个 DD-A endpoint 的字段(��md 侧,供 companion 字段级一致性)。 * 按 ## Endpoint 块 + DD-A + ### 请求体字段/响应体字段 表的"字段路径"列。复用 extractMarkdownTables。 */ /** 从 api_spec.md 提取每个 DD-A endpoint 的字段(md 侧,供 companion 字段级一致性)。 * 按 ## Endpoint 块 + DD-A + ### 请求体字段/响应体字段/请求 Path·Query 字段/请求 Header 字段 表的"字段路径"列。 * name 存规范化路径键 `[location.]path`:请求体→req.、响应体→resp.、Header→header.; * Path·Query 表按"位置"列或原文前缀判 path./query.,无法判定时默认 query.(结果路径键含推断)。 * path 段保留原文(如 items[].sku_id、amount.total),与 openapi 侧递归产生的路径键同形比对。复用 extractMarkdownTables。 */ export declare function extractEndpointFieldsFromMarkdown(content: string): Map; export {};