export interface PlatformApiClientConfig { baseUrl: string; accessToken: string; fetchImpl?: typeof fetch; } export declare function platformApiClientConfigFromEnv(): PlatformApiClientConfig; export declare class PlatformApiError extends Error { readonly status: number; readonly retryAfterSeconds: number | null; constructor(message: string, status: number, retryAfterSeconds?: number | null); } export declare class PlatformApiClient { #private; constructor(config: PlatformApiClientConfig); request(method: string, path: string, body?: unknown, options?: { signal?: AbortSignal; actingUserId?: string; }): Promise; requestRedirect(method: string, path: string, options?: { signal?: AbortSignal; }): Promise; } export declare function logPlatformInfo(message: string, fields?: Record): void; export declare function logPlatformWarn(message: string, fields?: Record): void; export declare function logPlatformError(message: string, fields?: Record): void; //# sourceMappingURL=api-client.d.ts.map