import type { Program } from '@coral-xyz/anchor'; import type { Connection, PublicKey, TransactionResponse, VersionedTransactionResponse } from '@solana/web3.js'; import type { ChainId, ChainsConfig, Contracts, Network, Platform, UniversalAddress, VAA, WormholeCore, WormholeMessageId } from '@wormhole-foundation/sdk-connect'; import type { AnySolanaAddress, SolanaChains } from '@wormhole-foundation/sdk-solana'; import { SolanaUnsignedTransaction } from '@wormhole-foundation/sdk-solana'; import type { Wormhole as WormholeCoreContract } from './types.js'; import type { BridgeData } from './utils/index.js'; export declare class SolanaWormholeCore implements WormholeCore { readonly network: N; readonly chain: C; readonly connection: Connection; readonly contracts: Contracts; readonly chainId: ChainId; readonly coreBridge: Program; readonly address: string; protected bridgeData?: BridgeData; constructor(network: N, chain: C, connection: Connection, contracts: Contracts); getGuardianSet(index: number): Promise; static fromRpc(connection: Connection, config: ChainsConfig): Promise>; private ensureBridgeConfig; getMessageFee(): Promise; getGuardianSetIndex(): Promise; publishMessage(sender: AnySolanaAddress, message: Uint8Array, nonce: number, consistencyLevel: number): AsyncGenerator, void, unknown>; verifyMessage(sender: AnySolanaAddress, vaa: VAA): AsyncGenerator, void, unknown>; postVaa(sender: AnySolanaAddress, vaa: VAA): AsyncGenerator, void, unknown>; static parseSequenceFromLog(coreBridgeAddress: string, transaction: VersionedTransactionResponse | TransactionResponse): [UniversalAddress, bigint][]; private getMessageAccountKeys; private findInstructions; parsePostMessageAccount(messageAccount: PublicKey): Promise>; parseTransaction(txid: string): Promise; parseMessages(txid: string): Promise[]>; private createUnsignedTx; } //# sourceMappingURL=core.d.ts.map