/** * @deprecated Use `ElevaError` from `src/errors` instead. * `SDKError` and `ValidationError` are kept only for backwards compatibility * and will be removed in a future version. */ export declare class SDKError extends Error { statusCode: number; constructor(message: string, statusCode: number); } /** @deprecated Use `ElevaError` with `ErrorCode.VALIDATION` from `src/errors` instead. */ export interface ValidationErrorField { validation: string; code: string; message: string; path: string[]; } /** @deprecated Use `ElevaError` with `ErrorCode.VALIDATION` from `src/errors` instead. */ export declare class ValidationError extends SDKError { errors: ValidationErrorField[]; constructor(errors?: ValidationErrorField[], message?: string); } //# sourceMappingURL=errors.d.ts.map