import type { Config, GetBlockErrorType, ResolvedRegister } from '@wagmi/core'; import type { Compute, ConfigParameter, UnionCompute, UnionStrictOmit } from '@wagmi/core/internal'; import { type GetBlockData, type GetBlockOptions } from '@wagmi/core/query'; import type { BlockTag } from 'viem'; import { type UseQueryReturnType } from '../utils/query.js'; import { type UseWatchBlocksParameters } from './useWatchBlocks.js'; export type UseBlockParameters> = Compute & ConfigParameter & { watch?: boolean | UnionCompute, 'chainId' | 'config' | 'onBlock' | 'onError'>> | undefined; }>; export type UseBlockReturnType> = UseQueryReturnType; /** https://wagmi.sh/react/hooks/useBlock */ export declare function useBlock>(parameters?: UseBlockParameters): UseBlockReturnType; //# sourceMappingURL=useBlock.d.ts.map