export type APIResponse = T; /** @deprecated Use `HTTPError` from `src/errors` instead. */ export interface APIError { code: string; message: string; errors: unknown[]; request: { method?: string; headers?: Record; path?: string; body?: unknown; }; response: { status?: number; headers?: Record; body?: unknown; }; } /** @deprecated Use `instanceof RemoteElevaError` instead. */ export declare function isAPIError(err: unknown): err is APIError; //# sourceMappingURL=types.d.ts.map