import { RpcSource } from './index.js'; /** * Enum representing the type of lookup to perform on the block explorer. */ export declare enum LookupType { TX = "tx", ADDRESS = "address", BLOCK = "block" } /** * Interface for parameters used in constructing a block explorer URL. */ export interface BlockExplorerParams { chainId?: number; blockExplorerURI?: string; rpc?: RpcSource; } /** * Constructs a block explorer URL for a given value and lookup type. * * @param value - The value to look up (e.g., transaction hash or address). * @param type - The type of lookup to perform. * @param params - Optional parameters for constructing the URL. * @returns A promise that resolves to the constructed block explorer URL. * @throws An error if unable to determine the block explorer URL. */ export declare function constructBlockExplorerUrl(value: string, type: LookupType, params?: BlockExplorerParams): Promise;