export interface FetchMockConfig { readonly fallbackToNetwork?: boolean; readonly includeContentLength?: boolean; readonly sendAsJson?: boolean; readonly warnOnFallback?: boolean; readonly overwriteRoutes?: boolean; } export declare class FetchMock { global: any; uncompiledRoutes: any[]; fallbackResponse: any; mockCalls: {}; allCalls: any[]; holdingPromises: any[]; config: FetchMockConfig; realFetch: any; constructor(); get routes(): any[]; set routes(items: any[]); get(matcher: any, response: any, options?: {}): this; getOnce(matcher: any, response: any, options?: {}): this; post(matcher: any, response: any, options?: {}): this; postOnce(matcher: any, response: any, options?: {}): this; put(matcher: any, response: any, options?: {}): this; putOnce(matcher: any, response: any, options?: {}): this; delete(matcher: any, response: any, options?: {}): this; deleteOnce(matcher: any, response: any, options?: {}): this; head(matcher: any, response: any, options?: {}): this; headOnce(matcher: any, response: any, options?: {}): this; patch(matcher: any, response: any, options?: {}): this; patchOnce(matcher: any, response: any, options?: {}): this; mock(matcher: any, response: any, options?: {}): this; addRoute(uncompiledRoute: any): number | any[]; mockFetch(): this; catch(response: any): this; spy(): this; once(matcher: any, response: any, options?: {}): this; reset(): this; restore(): this; callsFilteredByName(name: any): any; calls(name: any, options?: any): any; lastCall(name: any, options: any): any; normalizeLastCall(name: any, options: any): any; lastUrl(name?: string, options?: any): any; lastOptions(name?: string, options?: any): any; called(name: any, options: any): boolean; flush(): Promise; done(name: any, options: any): boolean; fetchHandler(url: any, opts: any): Promise; executeRouter(url: any, opts: any): any; generateResponse(response: any, url: any, opts: any): Promise; router(url: string, opts: any): any; getNativeFetch(): any; push(name: any, args: any): void; }