import type { IAddress, IChainId, IExplorerType } from '../../types'; /** * Generate a block-explorer URL for an address or transaction hash. * * Returns an empty string when `chain` is falsy or unknown so the return * type stays assignable to `string` — preserves the historical public * shape from before the file split out of `web3.ts`, where the SDK's * `strictNullChecks: false` masked the implicit `undefined` branch and * consumers pinned to `string` via the emitted `.d.ts`. * * @param hex Address or transaction hash * @param chain Chain ID * @param type Explorer view type (`address`, `tx`, `block`) * @returns Full explorer URL, or `''` when `chain` is falsy / unknown. */ export declare const explorerLink: (hex: IAddress, chain: IChainId, type: IExplorerType) => string;