import HackApiCore, { ReqOption, HackApiCallback } from './hack-api';
export declare type RequestOption = ReqOption & WechatMiniprogram.RequestOption;
export declare type HackRequestCallback = HackApiCallback<RequestOption, WechatMiniprogram.RequestSuccessCallbackResult, WechatMiniprogram.GeneralCallbackResult>;
export declare class HackRequest extends HackApiCore<RequestOption, HackRequestCallback> {
    apiName: 'request';
    protected defineApiProperty(): void;
    private hackHandler;
}
export declare const hackRequest: (option: HackRequestCallback) => HackRequest;
export declare const formatHeader: (headers: HeadersInit | undefined, reqHeaders: string[], tag: string) => string;
