import type { Config } from "./config.js"; export interface RequestOptions { method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"; query?: Record; body?: unknown; } export declare class OnyxClient { private readonly config; private readonly fetchImpl; private activeRequests; private readonly waiters; constructor(config: Config, fetchImpl?: typeof fetch); private acquire; private release; request(path: string, options?: RequestOptions): Promise; }