import { FetchResponse, FetchOptions } from './types'; type Fetch = (url: string, innerOptions?: FetchOptions & { baseUrl?: string; }) => Promise<{ url: string; timeout?: number; method: string; response: FetchResponse; }>; type PublicFetch = (url: string, options?: FetchOptions) => Promise<{ url: string; timeout?: number; method: string; response: FetchResponse; }>; export declare function createFetch(createMethod: 'createRequestTaskSync', operateMethod: 'operateRequestTaskSync', options?: { baseUrl?: string; defaultHeaders?: Record; type: 'public'; }): PublicFetch; export declare function createFetch(createMethod: 'createRequestTaskSync', operateMethod: 'operateRequestTaskSync', options?: { baseUrl?: string; type: 'inner'; defaultHeaders?: Record; }): Fetch; export declare function parseJSON(data: string): any; export declare function normalizeData(data: unknown, contentType?: string): string | ArrayBuffer; export declare const sendRequestBodyToNative: (data: unknown, contentType: string) => Promise; export {};