import { Connection } from '@solana/web3.js';
import { AccountAddress, ChainAddress, ChainsConfig, CircleBridge, CircleTransferMessage, Contracts, Network, Platform } from '@wormhole-foundation/connect-sdk';
import { Program } from '@project-serum/anchor';
import { SolanaChains, SolanaUnsignedTransaction } from '@wormhole-foundation/connect-sdk-solana';
import { MessageTransmitter, TokenMessenger } from '.';
export declare class SolanaCircleBridge<N extends Network, C extends SolanaChains> implements CircleBridge<N, C> {
    readonly network: N;
    readonly chain: C;
    readonly connection: Connection;
    readonly contracts: Contracts;
    readonly tokenMessenger: Program<TokenMessenger>;
    readonly messageTransmitter: Program<MessageTransmitter>;
    private constructor();
    static fromRpc<N extends Network>(provider: Connection, config: ChainsConfig<N, Platform>): Promise<SolanaCircleBridge<N, SolanaChains>>;
    redeem(sender: AccountAddress<C>, message: CircleBridge.Message, attestation: string): AsyncGenerator<SolanaUnsignedTransaction<N, C>>;
    transfer(sender: AccountAddress<C>, recipient: ChainAddress, amount: bigint): AsyncGenerator<SolanaUnsignedTransaction<N, C>>;
    isTransferCompleted(message: CircleBridge.Message): Promise<boolean>;
    parseTransactionDetails(txid: string): Promise<CircleTransferMessage>;
    private createUnsignedTx;
}
//# sourceMappingURL=circleBridge.d.ts.map