import type { MutationOptions } from '../types';
import type { BankVerificationErrorRequest, BankVerificationErrorResponse } from './transferInstruments.types';
/**
 * Receives an error code and message from a banking verification provider and translates it to a known, standardized error
 * @param options additional mutation options
 */
export declare const useHandleBankVerificationError: (options?: MutationOptions<BankVerificationErrorResponse, unknown, BankVerificationErrorRequest>) => import("@tanstack/preact-query").UseMutationResult<{
    accounts?: import("./transferInstruments.contract").components["schemas"]["BankAccountSummary"][];
    error?: string;
    errorMessage?: string;
    verificationReference?: string;
}, unknown, {
    errorCode: string;
    errorMessage?: string;
    metadata?: {
        [key: string]: string;
    };
    state: string;
}, unknown>;
