import type { JsonValue } from '@bufbuild/protobuf'; /** * A simple and minimal wrapper around the native `fetch` API. */ export declare class FetchClient { /** * Performs a GET request to the given `endpoint`, and returns the * JSON response. */ static get(endpoint: string, searchParams?: Record | undefined): Promise; /** * Performs a POST request to the given `endpoint`, and returns the * JSON response. */ static post(endpoint: string, body: JsonValue): Promise; } //# sourceMappingURL=FetchClient.d.ts.map