///
export declare const headersToRecord: (headers?: HeadersInit | null) => Record;
export type $Method = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "CONNECT" | "TRACE";
export declare const httpMethodCanOwnBody: (method: $Method | (string & {}), headers?: HeadersInit) => boolean;
/**
* 获得一个资源对象的总大小,如果使用了分片下载,那么也返回总大小而不是分片的大小
* @param headers
* @returns
*/
export declare const headersGetTotalLength: (headers: Headers) => number | undefined;
//# sourceMappingURL=httpHelper.d.ts.map