import { FetchOptions, Fetch } from '../types'; export declare function fetchMock(init?: ResponseInit, body?: any, error?: Error): FetchMock; export declare type FetchMock = Fetch & FetchMockSpy; export interface FetchMockSpy { spy: { called: boolean; calledCount: number; params: FetchMockSpyParams[]; }; } export interface FetchMockSpyParams { fullUrl: string; fetchOptions: FetchOptions; }