import type { Body, HttpMethod } from './fetch.ts'; import { ServiceException } from './exception.ts'; export declare const buildUrl: (base: string, path: string, subpath?: string, query?: URLSearchParams) => string; export declare function toServiceException(method: HttpMethod, url: string, response: Response): Promise>; export declare function toPayload(data: unknown): Promise<[Body, string | undefined]>; export declare function fromResponse(response: Response): Promise; //# sourceMappingURL=http-util.d.ts.map