import type { PerpsBaseConfig, SDKRequestOptions } from '../types/config.js'; import { type RetryPolicy } from './retryPolicy.js'; /** * `RequestInit` plus a per-call retry override. * * @internal */ export interface RequestOptions extends RequestInit { /** Per-call retry override. Falls back to the resolved client-level policy. */ retry?: RetryPolicy | false; } /** * Internal HTTP helper: applies SDK headers, retry policy, and the request * interceptor, then normalizes failures into {@link PerpsError}. * * @internal */ export declare function request(config: PerpsBaseConfig, url: string, options?: RequestOptions, sdkOptions?: SDKRequestOptions): Promise; /** * Build a URL with a query string from defined params (skips `undefined`). * * @internal */ export declare function buildUrl(baseUrl: string, params: Record): string; //# sourceMappingURL=request.d.ts.map