declare const weexFetch: any;
export interface WeexFetchResponse {
    ok: boolean;
    status: number;
    statusText: string;
    data: string;
    headers: object;
}
export declare const wrapResponse: (res: WeexFetchResponse) => {
    ok: boolean;
    status: number;
    statusText: string;
    body: string;
    headers: object;
    clone: () => any;
    text: () => Promise<unknown>;
    json: () => Promise<unknown>;
};
/**
 * 将 weex 的 fetch 封装成标准 fetch
 */
declare const fetch: (url: string, options?: object) => Promise<unknown>;
export { fetch, weexFetch, };
