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 funding an account with an initial amount of set token(s) * on Tempo's testnet. * * @example * ```tsx * import { Hooks } from 'wagmi/tempo' * * function App() { * const { mutate, isPending } = Hooks.faucet.useFund() * * return ( * * ) * } * ``` * * @param parameters - Parameters. * @returns Mutation result. */ export declare function useFund(parameters?: useFund.Parameters): useFund.ReturnType; export declare namespace useFund { type Parameters = ConfigParameter & { mutation?: UseMutationParameters, context> | undefined; }; type ReturnType = UseMutationResult, context>; } /** * Hook for funding an account with an initial amount of set token(s) * on Tempo's testnet. Returns the transaction receipts. * * @example * ```tsx * import { Hooks } from 'wagmi/tempo' * * function App() { * const { mutate, isPending } = Hooks.faucet.useFundSync() * * return ( * * ) * } * ``` * * @param parameters - Parameters. * @returns Mutation result. */ export declare function useFundSync(parameters?: useFundSync.Parameters): useFundSync.ReturnType; export declare namespace useFundSync { type Parameters = ConfigParameter & { mutation?: UseMutationParameters, context> | undefined; }; type ReturnType = UseMutationResult, context>; } //# sourceMappingURL=faucet.d.ts.map