import { rpc } from '@stellar/stellar-sdk'; import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef } from '../types-CuSlc_YE.cjs'; interface StellarSigner { publicKey: string; signTransaction(xdr: string, networkPassphrase: string): Promise; } interface StellarVenueOptions { server: rpc.Server; networkPassphrase: string; contractId?: string; baseFee?: string; } declare function stellarOrderRef(contractId: string, offerer: string, salt: bigint): OrderRef; declare class StellarVenue implements VenueAdapter { readonly chain: Chain; private readonly server; private readonly passphrase; private readonly contract; private readonly contractId; private readonly baseFee; constructor(opts: StellarVenueOptions); registerOrder(signer: StellarSigner, params: RegisterOrderParams): Promise; fulfillOrder(signer: StellarSigner, _orderRef: OrderRef, opts?: { offerer?: string; salt?: string; }): Promise; cancelOrder(signer: StellarSigner, _orderRef: OrderRef, opts?: { salt?: string; }): Promise; incrementCounter(signer: StellarSigner): Promise; getOrderDetails(_orderRef: OrderRef): Promise; getOrder(offerer: string, salt: bigint): Promise; getCounter(address: string): Promise; private view; private invoke; } export { type StellarSigner, StellarVenue, type StellarVenueOptions, stellarOrderRef };