import { type ClientConfig } from "../client/config"; /** The window event emitted when the API responds with HTTP 429. */ export declare const RATE_LIMIT_EVENT_NAME = "bounded:ratelimit"; export interface RateLimitEventDetail { endpoint: string; path: string; status: 429; attempt: number; willRetry: boolean; [key: string]: unknown; } /** Dispatch a rate-limit event without affecting request error handling. */ export declare function dispatchRateLimitEvent(detail: RateLimitEventDetail): void; export declare function makeApiRequest(method: string, urlPath: string, data?: any, _overrides?: { headers?: Record; _getAuthHeaders?: () => Promise>; _clearAuth?: () => Promise; timeout?: number; signal?: AbortSignal; _config?: ClientConfig; _readOnly?: boolean; }): Promise;