import { type Client } from "openapi-fetch"; import type { paths } from "../openapi"; import { type RetryConfiguration } from "../utils"; export type BaseClientOptions = { apiKey: string; projectId?: string; baseUrl?: string; fetch?: typeof globalThis.fetch; retries?: RetryConfiguration; }; export declare class BaseClient { protected client: Client; protected projectId: string; protected retryConfig?: RetryConfiguration; constructor(options: BaseClientOptions); protected handleResponseOrThrow(response: Response): Promise; protected withRetry(fn: () => Promise, config?: RetryConfiguration | undefined): Promise; }