import type { LoginIdentifierType, RequestError } from '@corbado/web-core/dist/api/v2'; import type { i18n } from 'i18next'; export declare class ErrorTranslator { #private; constructor(i18next: i18n); translate(error: RequestError | undefined): string | undefined; translateWithIdentifier(error: RequestError | undefined, type: LoginIdentifierType): string | undefined; }