import type { InvalidField } from '../api/validation/validation.types';
export interface ValidationError {
    type: string;
    title: string;
    status: number;
    detail: string;
    requestId: string;
    invalidFields: InvalidField[];
    errorCode: string;
}
interface SourceValidationError {
    errorCode: string;
    sourceError: ValidationError;
}
export declare const isValidationError: (error: unknown) => error is ValidationError;
export declare const isIdDocumentUploadError: (error: unknown) => boolean;
export declare const isBankStatementUploadError: (error: unknown) => boolean;
export declare const isBusinessSelectionLegalArrangementError: (error: unknown) => boolean;
export interface ValidationResponse {
    invalidFields?: InvalidField[];
    errorCode?: string;
    valid: boolean;
}
export declare const mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable: (error: SourceValidationError | undefined) => "failedToUpdateDetails" | "transferInstrumentLimitHasAlreadyBeenMet";
export {};
