wagmi
Version:
React Hooks for Ethereum
11 lines • 1.08 kB
TypeScript
import type { Config, GetProofErrorType, ResolvedRegister } from '@wagmi/core';
import type { Compute } from '@wagmi/core/internal';
import { type GetProofData, type GetProofOptions, type GetProofQueryKey } from '@wagmi/core/query';
import type { GetProofQueryFnData } from '@wagmi/core/query';
import type { ConfigParameter, QueryParameter } from '../types/properties.js';
import { type UseQueryReturnType } from '../utils/query.js';
export type UseProofParameters<config extends Config = Config, selectData = GetProofData> = Compute<GetProofOptions<config> & ConfigParameter<config> & QueryParameter<GetProofQueryFnData, GetProofErrorType, selectData, GetProofQueryKey<config>>>;
export type UseProofReturnType<selectData = GetProofData> = UseQueryReturnType<selectData, GetProofErrorType>;
/** https://wagmi.sh/react/api/hooks/useProof */
export declare function useProof<config extends Config = ResolvedRegister['config'], selectData = GetProofData>(parameters?: UseProofParameters<config, selectData>): UseProofReturnType<selectData>;
//# sourceMappingURL=useProof.d.ts.map