export interface ProgressCallback {
    loaded: number;
    total: number;
}
export declare function httpRequest(options: {
    method: string;
    url: string;
    data?: any;
    xhrInstance?: any;
    onProgress?: (params: ProgressCallback) => void;
}): Promise<any>;
