export declare type Fetch = typeof fetch; export interface FetchOptions { header?: { [key: string]: string; }; noResolveJson?: boolean; } export interface FetchParameters { signal?: AbortSignal; } export declare type RequestMethodType = 'GET' | 'POST' | 'PUT' | 'DELETE'; export declare function get(url: string, options?: FetchOptions, parameters?: FetchParameters): Promise; export declare function post(url: string, data: object, options?: FetchOptions, parameters?: FetchParameters): Promise; export declare function put(url: string, data: object, options?: FetchOptions, parameters?: FetchParameters): Promise; export declare function remove(url: string, data: object, options?: FetchOptions, parameters?: FetchParameters): Promise; //# sourceMappingURL=fetch.d.ts.map