import { type Config, type GetBlockErrorType, type ResolvedRegister } from '@wagmi/core'; import { type Evaluate, type UnionEvaluate, type UnionOmit } from '@wagmi/core/internal'; import { type GetBlockData, type GetBlockOptions, type GetBlockQueryFnData, type GetBlockQueryKey } from '@wagmi/core/query'; import type { BlockTag } from 'viem'; import type { ConfigParameter, DeepUnwrapRef, MaybeRefDeep, QueryParameter } from '../types.js'; import { type UseQueryReturnType } from '../utils/query.js'; import { type UseWatchBlocksParameters } from './useWatchBlocks.js'; export type UseBlockParameters> = MaybeRefDeep & ConfigParameter & QueryParameter, GetBlockErrorType, selectData, GetBlockQueryKey> & { watch?: boolean | UnionEvaluate>, '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