import { type Address, type Chain, type GetBlockErrorType, type GetLogsErrorType } from 'viem'; import { type GetChainContractAddressErrorType } from 'viem/utils'; import type { RequireClientContracts } from '../../../../clients/chain.js'; export type GetRegistrationDateParameters = { /** Label to get registration date for */ label: string; /** Optional custom registry address (ETHRegistry) */ registryAddress?: Address; /** Block range start */ fromBlock?: bigint; /** Block range end */ toBlock?: bigint; }; export type GetRegistrationDateReturnType = bigint | null; export type GetRegistrationDateErrorType = GetChainContractAddressErrorType | GetLogsErrorType | GetBlockErrorType; /** * Get a block timestamp of when a name was registered on the V2 registry * @returns registration timestamp or null */ export declare function getRegistrationDate(client: RequireClientContracts, { label, registryAddress, fromBlock, toBlock }: GetRegistrationDateParameters): Promise; //# sourceMappingURL=getRegistrationDate.d.ts.map