/** * Stellar Chain Adapter * * Builds Stellar transactions using XDR serialization, * attaches Ed25519 signatures from the FROST threshold signing * network, and broadcasts via Horizon API. * * Requires: npm install @stellar/stellar-sdk */ import { ChainAdapter, StellarTransaction } from '../core/types'; export declare class StellarAdapter implements ChainAdapter { private rpcUrl; private network; private stellarSdk; private networkPassphrase; constructor(network?: 'mainnet' | 'testnet', rpcUrl?: string); getRpcUrl(): string; /** * Build an unsigned Stellar payment transaction. * * The signing payload is SHA-256(network_passphrase + TX envelope XDR). */ buildTransaction(tx: StellarTransaction, fromAddress: string): Promise; getSigningPayload(unsignedTx: string): string; /** * Attach an Ed25519 signature to the Stellar transaction */ attachSignature(unsignedTx: string, signature: string, publicKey?: string): Promise; /** * Broadcast a signed Stellar transaction */ broadcast(signedTx: string): Promise; /** * Get XLM balance in stroops */ getBalance(address: string): Promise; } export declare function createStellarAdapter(rpcUrl?: string): StellarAdapter; export declare function createStellarTestnetAdapter(rpcUrl?: string): StellarAdapter; //# sourceMappingURL=stellar.d.ts.map