import type { Transaction, VersionedTransaction } from '@solana/web3.js';
import type { GenericSigner, SolanaTransaction } from 'rango-types';
export declare function isVersionedTransaction(transaction: Transaction | VersionedTransaction): transaction is VersionedTransaction;
export declare class SolanaSigner implements GenericSigner<SolanaTransaction> {
    signMessage(msg: string): Promise<string>;
    signAndSendTx(tx: SolanaTransaction): Promise<{
        hash: string;
    }>;
}
