import { RecipientConfig, UIProperties } from "../tx"; import { ChainGetter } from "@keplr-wallet/stores"; import { IIBCChannelConfig } from "./types"; /** * IBCRecipientConfig returns the recipient config for IBC transfer. * The recipient config's chain id should be the destination chain id for IBC. * But, actually, the recipient config's chain id would be set as the sending chain id if the channel not set. * So, you should remember that the recipient config's chain id is equal to the sending chain id, if channel not set. */ export declare class IBCRecipientConfig extends RecipientConfig { protected readonly channelConfig: IIBCChannelConfig; protected isIBCTransfer: boolean; constructor(chainGetter: ChainGetter, initialChainId: string, channelConfig: IIBCChannelConfig, isIBCTransfer: boolean); get chainId(): string; get uiProperties(): UIProperties; setIsIBCTransfer(isIBCTransfer: boolean): void; } export declare const useIBCRecipientConfig: (chainGetter: ChainGetter, chainId: string, channelConfig: IIBCChannelConfig, options: { allowHexAddressToBech32Address?: boolean | undefined; allowHexAddressOnly?: boolean | undefined; icns?: { chainId: string; resolverContractAddress: string; } | undefined; ens?: { chainId: string; } | undefined; } | undefined, isIBCTransfer: boolean) => IBCRecipientConfig;