import { EpayPayWithWalletRequestVM, RequestError, UserWalletDisplayResponseVM } from "../../services"; export declare function usePosPay({ targetWalletNumber, selectedWallet, amount, description, onSuccess, onErrorPayWithWallet, getAfterPayRedirectUri, redirectToPayLink, }: { selectedWallet?: UserWalletDisplayResponseVM; targetWalletNumber?: string; amount: string; description: string; onSuccess?: (data: any, variables: EpayPayWithWalletRequestVM) => void; onErrorPayWithWallet?: (error: RequestError | Error, variables: EpayPayWithWalletRequestVM) => void; getAfterPayRedirectUri: (clientUniqueId: string) => string; redirectToPayLink: (paymentLink: string) => string; }): { targetWallet: import("../../services").FindUserWalletResponseVM | undefined; targetIsLoading: boolean; targetError: RequestError | Error | null; refetchTarget: (options?: (import("@tanstack/query-core").RefetchOptions & import("@tanstack/query-core").RefetchQueryFilters) | undefined) => Promise>; onPay: () => void; isInSufficientBalance: boolean; isPayLoading: boolean; payError: unknown; resetPos: () => void; }; //# sourceMappingURL=index.d.ts.map