import { DomainSdkError } from "./errors"; export type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise; export declare function readJson(response: Response): Promise; export declare function httpError(provider: string, response: Response, body: unknown, fallback: string): DomainSdkError; export declare function requireString(value: string | undefined, name: string, provider: string): string; //# sourceMappingURL=http.d.ts.map