import { UserBankResponseVM } from "../../services"; import { BuySellProps } from "./context"; declare type Charge = { redirectUrl: string; clientId?: string; amountToCharge?: number; }; declare type SelectedQueries = { crypto?: string; fiat?: string; mode: "buy" | "sell"; }; export declare const useBuySell: (callbacks?: BuySellProps) => { charge: ({ redirectUrl, clientId }: Charge) => void; isChargeLoading: boolean; selectedAssignedValue: ({ crypto, fiat, mode }: SelectedQueries) => void; chargeError: string; clearChargeError: () => void; hideChargeMessage: () => void; setSelectedBank: (userBank?: UserBankResponseVM | null) => void; validateCharge: () => void; error: import("../../services/services/config").RequestError | Error | null; onConfirm: () => void; isLoadingConfirm: boolean; isLoadingPreview: boolean; errorPreview: import("../../services/services/config").RequestError | Error | null; previewItem: import("../../services").OTCConvertQuoteResponseVM | undefined; closePreview: () => void; requestPreview: () => void; }; export {}; //# sourceMappingURL=useBuySell.d.ts.map