import { PublicKey, AccountMeta, TransactionInstruction } from '@solana/web3.js'; import { Solana, ChainConfig } from '../chain.cjs'; import { Program, Provider } from '@coral-xyz/anchor'; import { SolanaClient } from './types/solana_client.cjs'; import { EndpointProgram } from '@layerzerolabs/lz-solana-sdk-v2'; import 'viem/chains'; interface BalanceInterface { balanceRaw: bigint; balance: number; } declare class ProgramSolana { config: Partial>; solanaClient: Partial>>; endpoint: Partial>; constructor(newConfig?: Partial>); seed: Record; pda: { ata: (tokenMint: PublicKey, pubkey: PublicKey, isPda: boolean) => PublicKey; client: (chain: Solana) => PublicKey; clientInfo: (chain: Solana) => PublicKey; messageInfo: (chain: Solana) => PublicKey; store: (chain: Solana) => PublicKey; lzReceiveTypes: (chain: Solana) => PublicKey; pendingAccountInfo: (chain: Solana, pubkey: PublicKey) => PublicKey; }; account: { remainingAccountsForSend: (chain: Solana, pubkey: PublicKey) => Promise; remainingAccountsForRegisterOApp: (chain: Solana, pubkey: PublicKey) => AccountMeta[]; remainingAccountsForQuote: (chain: Solana, pubkey: PublicKey) => Promise; }; sendAndConfirm(ix: TransactionInstruction | TransactionInstruction[], provider: Provider): Promise; sendAndConfirmWithComputeUnit(ix: TransactionInstruction | TransactionInstruction[], computeUnit: number, provider: Provider): Promise; getNativeBalance(chain: Solana, pubkey: PublicKey): Promise; } export { ProgramSolana };