import type { Chain } from '@lifi/sdk';
type TransactionLinkProps = {
    chain?: Chain | number;
} & ({
    txHash: string;
    txLink?: never;
} | {
    txHash?: never;
    txLink: string;
});
export declare const useExplorer: () => {
    getTransactionLink: ({ txHash, txLink, chain, }: TransactionLinkProps) => string | undefined;
    getAddressLink: (address: string, chain?: Chain | number) => string;
};
export {};
