/** * Normalised SDK error. The `onResponseError` hook inspects the raw ofetch * error and converts it into this shape so consumers deal with ONE type. */ export declare class CmsError extends Error { readonly statusCode: number; readonly code: string; readonly fieldErrors?: Record; readonly requestId?: string; readonly traceId?: string; constructor(input: { message: string; statusCode?: number; code?: string; fieldErrors?: Record; requestId?: string; traceId?: string; cause?: unknown; }); get isUnauthorized(): boolean; get isForbidden(): boolean; get isNotFound(): boolean; get isValidation(): boolean; get isNetwork(): boolean; } //# sourceMappingURL=errors.d.ts.map