wagmi
Version:
React Hooks for Ethereum
14 lines • 1.42 kB
TypeScript
import type { Config, ResolvedRegister, SendCallsSyncErrorType } from '@wagmi/core';
import type { Compute, ConfigParameter } from '@wagmi/core/internal';
import { type SendCallsSyncData, type SendCallsSyncMutate, type SendCallsSyncMutateAsync, type SendCallsSyncOptions, type SendCallsSyncVariables } from '@wagmi/core/query';
import type { UseMutationReturnType } from '../utils/query.js';
export type UseSendCallsSyncParameters<config extends Config = Config, context = unknown> = Compute<ConfigParameter<config> & SendCallsSyncOptions<config, context>>;
export type UseSendCallsSyncReturnType<config extends Config = Config, context = unknown> = Compute<UseMutationReturnType<SendCallsSyncData, SendCallsSyncErrorType, SendCallsSyncVariables<config, config['chains'][number]['id']>, context, SendCallsSyncMutate<config, context>, SendCallsSyncMutateAsync<config, context>> & {
/** @deprecated use `mutate` instead */
sendCallsSync: SendCallsSyncMutate<config, context>;
/** @deprecated use `mutateAsync` instead */
sendCallsSyncAsync: SendCallsSyncMutateAsync<config, context>;
}>;
/** https://wagmi.sh/react/api/hooks/useSendCallsSync */
export declare function useSendCallsSync<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: UseSendCallsSyncParameters<config, context>): UseSendCallsSyncReturnType<config, context>;
//# sourceMappingURL=useSendCallsSync.d.ts.map