type ApiErrorType = "bad-request" | "internal" | "not-allowed" | "not-with-children" | "not-unique"; declare const API_ERROR_TYPE: { BAD_REQUEST: ApiErrorType; INTERNAL: ApiErrorType; NULL_DISALLOWED: ApiErrorType; NOT_ALLOWED: ApiErrorType; NOT_UNIQUE: ApiErrorType; NOT_WITH_CHILDREN: ApiErrorType; }; declare class ApiError { transportError: number; message: string; errorType: ApiErrorType; constructor(errorType: ApiErrorType, message: string); private evaluateType; } export { API_ERROR_TYPE, ApiError, type ApiErrorType };