import { ResponseDefinition } from '../transport/types.js'; import { HttpResponse } from '../types.js'; /** * Matches HTTP responses to their expected response definitions. * Determines which response schema to use based on status code and content type. */ export declare class ResponseMatcher { private responses; /** * Creates a new response matcher. * @param responses - Array of possible response definitions for an endpoint */ constructor(responses: ResponseDefinition[]); /** * Finds the matching response definition for an HTTP response. * Matches based on status code and content type from the response headers. * @param response - The HTTP response to match * @returns The matching response definition, or undefined if no match found */ getResponseDefinition(response: HttpResponse): ResponseDefinition | undefined; } //# sourceMappingURL=response-matcher.d.ts.map