declare type Json = { [key: string]: unknown; }; declare type MockResponse = { status: number; statusText: string; ok: boolean; body: Json; }; export default function fetch(url: string): Promise<{ status: number; statusText: string; ok: boolean; json: () => Promise; }>; export declare function __setMockResponses(newMockResponses: { [url: string]: Partial; }): void; export declare function __resetMockResponses(): void; export {};