import type { StellarCoinConfig, StellarContext } from '../config'; import type { StellarMemo } from '../types'; import type { CraftedTransaction, FeeEstimation, ListOperationsOptions, Operation, Page, TransactionIntent, TxDataNotSupported } from '@ledgerhq/coin-module-framework/api/index'; import { xdr } from '@stellar/stellar-sdk'; export declare function createApi(): { broadcast: (ctx: StellarContext, tx: string, _options?: { broadcastConfig?: import("@ledgerhq/coin-module-framework/api/index").BroadcastConfig; } | undefined) => Promise; combine: (_ctx: import("@ledgerhq/coin-module-framework/lib-es/config").Context, tx: string, signature: string[], options?: { pubkey?: string; } | undefined) => string; craftTransaction: (ctx: StellarContext, transactionIntent: TransactionIntent, options?: { customFees?: FeeEstimation; } | undefined) => Promise; estimateFees: (ctx: StellarContext, _intent: TransactionIntent, _options?: { customFeesParameters?: FeeEstimation["parameters"]; feeOption?: import("@ledgerhq/coin-module-framework/api/index").EstimateFeesOptions; } | undefined) => Promise; getBalance: (ctx: StellarContext, address: string, options?: import("@ledgerhq/coin-module-framework/api/index").BalanceOptions | undefined) => Promise; lastBlock: (ctx: StellarContext) => Promise; listOperations: (ctx: StellarContext, address: string, options: ListOperationsOptions) => Promise>; getBlock: (ctx: StellarContext, height: number) => Promise; getBlockInfo: (ctx: StellarContext, height: number) => Promise; validateIntent: (ctx: StellarContext, transactionIntent: TransactionIntent, balances: import("@ledgerhq/coin-module-framework/api/index").Balance[], options?: { customFees?: FeeEstimation; } | undefined) => Promise; getNextSequence: (ctx: StellarContext, address: string) => Promise; validateAddress: (_ctx: import("@ledgerhq/coin-module-framework/lib-es/config").Context, address: string, parameters: Partial) => Promise; craftTransactionData: (_ctx: import("@ledgerhq/coin-module-framework/lib-es/config").Context, intent: TransactionIntent) => TxDataNotSupported; }; /** * Deserialize a transaction envelope, also accepting transaction signature payload form. * * @param input serialized `TransactionEnvelope` or `TransactionSignaturePayload` * @param format serialization encoding */ export declare function envelopeFromAnyXDR(input: string, format: 'hex' | 'base64'): xdr.TransactionEnvelope; //# sourceMappingURL=index.d.ts.map