import { Chain } from '../network'; /** Value returned from `useNetwork`. */ export interface UseNetworkResult { /** The current chain. */ chain?: Chain; } /** * Hook for accessing the current connected chain. * * @remarks * * The network object contains information about the * network, including block explorers. * * @example * This example shows how to display the current network name. * ```tsx * function Component() { * const { chain } = useNetwork() * * return {chain.name} * } */ export declare function useNetwork(): UseNetworkResult;