import { SwapFormValues } from '../components/Pages/Swap/Form/SwapFormValues'; import { QuoteError } from './useFee'; interface Params { values: SwapFormValues; minAllowedAmount: number | undefined; maxAllowedAmount: number | undefined; minAllowedAmountInUsd: number | undefined; maxAllowedAmountInUsd: number | undefined; isUsdMode: boolean; sourceAddress: string | undefined; sameAccountNetwork?: string | undefined; quoteError?: QuoteError; noExchangeWithdrawalRoute?: boolean; } export declare const FORM_VALIDATION_ERROR_CODES: { ROUTE_NOT_FOUND: string; RATE_NOT_AVAILABLE: string; PRICE_IMPACT_TOO_HIGH: string; MIN_AMOUNT_ERROR: string; MAX_AMOUNT_ERROR: string; INVALID_AMOUNT: string; NO_SOURCE_ROUTE: string; INVALID_DESTINATION_ADDRESS: string; ADDRESS_UPDATE_REQUIRED: string; MANUAL_TRANSFER_UNSUPPORTED: string; }; export declare function resolveFormValidation({ values, maxAllowedAmount, minAllowedAmount, minAllowedAmountInUsd, maxAllowedAmountInUsd, isUsdMode, sourceAddress, sameAccountNetwork, quoteError, noExchangeWithdrawalRoute }: Params): { message: string; code?: undefined; } | { message: string; code: string; }; export declare function resolveQuoteError(quoteError?: QuoteError): { message: string; code: string; } | undefined; export {}; //# sourceMappingURL=useFormValidation.d.ts.map