/** * Represents a non-OK HTTP response returned by `api.get` or `api.post`. * * The `body` property contains untrusted API data as parsed JSON, raw text, or * `null` when the response body is empty or unreadable. Validate it before * rendering, logging, or otherwise using its contents. */ export declare class ApiError extends Error { readonly status: number; readonly statusText: string; readonly path: string; readonly body: unknown; constructor({ status, statusText, path, body }: { status: number; statusText: string; path: string; body: unknown; }); } //# sourceMappingURL=api.error.d.ts.map