import { HTTPError, KyResponse, Options } from "ky"; //#region src/server/http/client.d.ts type HttpMethod = 'delete' | 'get' | 'head' | 'options' | 'post' | 'put'; type HttpOptions = Pick & { method?: HttpMethod; /** Stream the raw body through untouched; skips the response-draining hook. */ stream?: boolean; }; declare const httpFetch: (url: string, { method, stream, ...rest }?: HttpOptions) => Promise; declare const httpJson: (url: string, options?: HttpOptions) => Promise; declare const httpSend: (url: string, options?: HttpOptions) => Promise; //#endregion export { HTTPError, HttpMethod, HttpOptions, type KyResponse, httpFetch, httpJson, httpSend }; //# sourceMappingURL=client.d.ts.map