import { INetwork, ISideChainId, IAsset } from '../types'; export interface IPrepareToDelegate { network: INetwork; address: string; validatorAddress: string; amount: string; /** * bbc-mainnet -> bsc-mainnet chainId: bsc * bbc-testnet -> bsc-testnet chainId: chapel * e.g. if you select network is bbc-mainnet, that sideChainId should be bsc-mainnet's chainId */ sideChainId: ISideChainId; } export interface IPrepareToDelegateOnBsc extends IPrepareToDelegate { bbcNetwork: INetwork; bbcAddress: string; asset: IAsset; } export declare const prepareToDelegateOnBsc: (data: IPrepareToDelegateOnBsc) => Promise<{ fee: string; send: (bbcPrivateKey: string, bscPrivateKey: string) => Promise<{ transactionHash: string; }>; }>; export declare const prepareToDelegateOnBbc: (data: IPrepareToDelegate) => Promise;