import type { Error } from './models.js'; export declare class ApiError extends Error { status: number; error_code?: string; request_id?: string; body?: Partial; constructor(status: number, body?: Partial, message?: string); } export declare function throwIfNotOk(res: Response): Promise; //# sourceMappingURL=errors.d.ts.map