import type { UseMutationResult } from '@tanstack/react-query';
import type { Config, ResolvedRegister } from '@wagmi/core';
import type { ConfigParameter } from '@wagmi/core/internal';
import { Actions } from '@wagmi/core/tempo';
import { type UseMutationParameters } from '../../utils/query.js';
/**
* Hook for opening the wallet send flow with optional pre-filled send fields.
*
* @example
* ```tsx
* import { Hooks } from 'wagmi/tempo'
*
* function App() {
* const { mutate, isPending } = Hooks.wallet.useSend()
*
* return (
*
* )
* }
* ```
*
* @param parameters - Parameters.
* @returns Mutation result.
*/
export declare function useSend(parameters?: useSend.Parameters): useSend.ReturnType;
export declare namespace useSend {
type Parameters = ConfigParameter & {
mutation?: UseMutationParameters, context> | undefined;
};
type ReturnType = UseMutationResult, context>;
}
/**
* Hook for opening the wallet swap flow with optional pre-filled swap fields.
*
* @example
* ```tsx
* import { Hooks } from 'wagmi/tempo'
*
* function App() {
* const { mutate, isPending } = Hooks.wallet.useSwap()
*
* return (
*
* )
* }
* ```
*
* @param parameters - Parameters.
* @returns Mutation result.
*/
export declare function useSwap(parameters?: useSwap.Parameters): useSwap.ReturnType;
export declare namespace useSwap {
type Parameters = ConfigParameter & {
mutation?: UseMutationParameters, context> | undefined;
};
type ReturnType = UseMutationResult, context>;
}
/**
* Hook for opening the wallet deposit flow with optional pre-filled deposit fields.
*
* @example
* ```tsx
* import { Hooks } from 'wagmi/tempo'
*
* function App() {
* const { mutate, isPending } = Hooks.wallet.useDeposit()
*
* return (
*
* )
* }
* ```
*
* @param parameters - Parameters.
* @returns Mutation result.
*/
export declare function useDeposit(parameters?: useDeposit.Parameters): useDeposit.ReturnType;
export declare namespace useDeposit {
type Parameters = ConfigParameter & {
mutation?: UseMutationParameters, context> | undefined;
};
type ReturnType = UseMutationResult, context>;
}
//# sourceMappingURL=wallet.d.ts.map