export interface RequestHeader { [id: string]: string; } export interface RequestBody { [id: string]: any; } export declare function createFetchUrl(uri: string, query?: RequestHeader): string; export declare function createFetchHttp(method: string, headers?: RequestHeader, body?: RequestBody): RequestInit; export declare function fetch(url: string, request: RequestInit): Promise; export declare function fetchHttp(method: string, uri: string, headers?: RequestHeader, body?: RequestBody): Promise; export declare function fetchRawJSON(method: string, uri: string, headers?: RequestHeader, body?: RequestBody): Promise; export declare function fetchJSON(method: string, uri: string, headers?: RequestHeader, body?: RequestBody): Promise; export declare function clientFetch(method: string, uri: string, body?: RequestBody): Promise; export declare function clientFetchApi(method: string, uri: string, body?: RequestBody): Promise; export declare function parseJSON(response: any): any; export declare function parseText(response: any): any; export declare function checkStatus(response: any): any;