/** * MockClient class. */ import { MockRequestSchemaInit, MockRequestSchemaObjectInit, MockResponseSchemaInit, MockSchema, UrlPatternObj } from '../protocol'; export type MockClientOptions = { debug?: boolean; }; export type MockRequestSchemaInitNoMethod = string | RegExp | UrlPatternObj | URLPattern | Omit; export declare class MockClient { protected options?: MockClientOptions | undefined; private mockSchemas; private _headers; onChange?: (headers: Record) => unknown; constructor(options?: MockClientOptions | undefined); get headers(): Readonly>; get schemas(): MockSchema[]; addMock(reqSchema: MockRequestSchemaInit, resSchema: MockResponseSchemaInit): Promise; GET(reqSchema: MockRequestSchemaInitNoMethod, resSchema: MockResponseSchemaInit): Promise; POST(reqSchema: MockRequestSchemaInitNoMethod, resSchema: MockResponseSchemaInit): Promise; PUT(reqSchema: MockRequestSchemaInitNoMethod, resSchema: MockResponseSchemaInit): Promise; PATCH(reqSchema: MockRequestSchemaInitNoMethod, resSchema: MockResponseSchemaInit): Promise; DELETE(reqSchema: MockRequestSchemaInitNoMethod, resSchema: MockResponseSchemaInit): Promise; HEAD(reqSchema: MockRequestSchemaInitNoMethod, resSchema: MockResponseSchemaInit): Promise; ALL(reqSchema: MockRequestSchemaInitNoMethod, resSchema: MockResponseSchemaInit): Promise; reset(): Promise; private addMockWithMethod; private rebuildHeaders; private buildRequestSchema; private buildResponseSchema; } //# sourceMappingURL=index.d.ts.map