import { PerpsError, type ResolvedRetryPolicy } from '@lifi/perps-sdk'; export type ApiParams = Record; export declare class LighterAuthRejectedError extends PerpsError { } export declare const LIGHTER_RETRY_DEFAULTS: ResolvedRetryPolicy; export interface LighterApiClientOptions { signal?: AbortSignal; policy?: ResolvedRetryPolicy; fetchImpl?: typeof fetch; } export declare class LighterApiClient { private readonly baseUrl; private readonly signal; private readonly policy; private readonly fetchImpl; constructor(baseUrl: string, options?: LighterApiClientOptions); private buildUrl; get(path: string, params?: ApiParams): Promise; getAuthed(path: string, authToken: string, params?: ApiParams): Promise; getWithStatus(path: string, params?: ApiParams): Promise<{ status: number; data: T; }>; postForm(path: string, params: ApiParams): Promise<{ status: number; data: T; }>; private getChecked; private assertOk; } //# sourceMappingURL=apiClient.d.ts.map