export declare function parseURL(_url: string): HTMLAnchorElement | URL; export declare function isBuffer(buf: any): boolean; export declare function serializeRequestBody(headers: any, data: T, method?: string): T | string;