/** * Shared test utilities for API client tests. */ /// import { ApiPlatformClient } from "./ApiPlatformClient.cjs"; export declare const mockFetch: jest.Mock; /** * Helper to create a mock Response. * * @param data - The response data to return from json(). * @param status - HTTP status code. * @param statusText - HTTP status text. * @returns A mocked Response object. */ export declare const createMockResponse: (data: ResponseData, status?: number, statusText?: string) => Response; /** * Creates a fresh ApiPlatformClient for testing with disabled caching/retry. * * @returns A new ApiPlatformClient instance configured for testing. */ export declare function createTestClient(): ApiPlatformClient; /** * Setup function to be called in beforeEach. * * @returns An object containing a fresh test client. */ export declare function setupTestEnvironment(): { client: ApiPlatformClient; }; //# sourceMappingURL=test-utils.d.cts.map