import { AssetAmount, ProgramConfig, SolanaChain } from '@galacticcouncil/xc-core'; import { SolanaCall } from './types'; import { Platform } from '../types'; export declare class SolanaPlatform implements Platform { #private; constructor(chain: SolanaChain); /** * Build the ordered transaction sequence of a transfer. * * All but the last are prerequisites the sender signs & sends first - * [wrapNative?, transfer]. Each is its own transaction because solana * caps transaction size. */ buildCalls(account: string, _amount: bigint, _feeBalance: AssetAmount, configs: ProgramConfig[]): Promise; private buildTx; /** * Fee of a transfer. * * Read off the transfer transaction alone - it is the last of the sequence * and the only one whose simulation reports the sender's final balance. */ estimateFee(account: string, amount: bigint, feeBalance: AssetAmount, configs: ProgramConfig[]): Promise; }