import { CosmosChainData } from '@leapwallet/elements-core'; export interface IBCData { $schema: string; chain_1: Blockchain; chain_2: Blockchain; channels: Channel[]; } export interface Channel { chain_1: Blockchain; chain_2: Blockchain; ordering: string; version: string; } export interface Blockchain { channel_id: string; port_id: string; connection_id?: string; } /** * Get the source chain channel ID for IBC * * @param sourceChain chain registry path of the source chain * @param recipientChain chain registry path of the recipient chain */ export declare function getSourceChainChannelId(sourceChain: string, recipientChain: string): Promise; /** * Get the destination chain ID from the source channel ID and source chain */ export declare function getDestinationChainIdFromSourceChannelId(sourceChain: CosmosChainData, sourceChannelId: string): Promise; /** * React hook to get the source chain channel ID for the given source chain and recipient chain IBC pair */ export declare const useSourceChannelId: (sourceChain: CosmosChainData | undefined, recipientChain: CosmosChainData | undefined, enabled?: boolean) => import("swr/_internal").SWRResponse<{ data: string; status: 'success'; } | { status: 'failure'; message: string; }, any, any>;