/** * Local Docker Acceptance — 契约层模块。 * * 职责边界: * - 负责:判断本地验收适用性并执行真实 HTTP 健康检查 * - 不负责:不属于本模块的职责由对应模块承担 * * 被谁调用:契约验证、注册表查询 * 调用谁:helpers * * 数据流:契约定义 → 验证逻辑 → 通过/拒绝结果 * 持久化:无持久化(纯计算/内存态) */ /** 真实本地验收执行结果 */ export interface RealLocalAcceptanceResult { health_check_ok: boolean; health_check_output: string; target_url: string; assertion_results: string[]; http_status: number | null; response_body_sample: string; timestamp: string; run_hash: string; } /** * 执行真实本地 HTTP 验收 — 必须有真实 fetch 证据。 * 对指定 URL 执行 HTTP GET,记录 status、response body 片段、断言结果。 */ export declare function executeRealHttpAcceptance(targetUrl: string, assertions: Array<{ name: string; check: (status: number, body: string) => boolean; }>): Promise;