import type { ApiResponse } from "../openapi-driver.ts"; /** Fluent, synchronous assertions over an already-resolved HTTP response's * status, JSON body, and headers. Each matcher returns the same object so calls * chain. */ export interface ResponseAssert { /** Assert the response status equals `code`. */ hasStatus(code: number): ResponseAssert; /** Assert the parsed JSON body deep-matches `subset` (a SUBSET match — extra * keys on the body are ignored). */ hasJson(subset: unknown): ResponseAssert; /** Assert a header is present (case-insensitive name) and, when `value` is * given, that it equals `value`. */ hasHeader(name: string, value?: string): ResponseAssert; } /** Assert over an already-resolved {@link ApiResponse} (synchronous). */ export declare function assertThatResponse(res: ApiResponse): ResponseAssert;