import TransactionBuilder from "./transaction_builder.js"; import TransactionSender from "./transaction_sender.js"; import Archethic from "./index.js"; import { Ownership, TransactionFee } from "./types.js"; import { SendTransactionResponse } from "./api/types.js"; export default class Transaction { core: Archethic; builder: typeof ExtendedTransactionBuilder; constructor(core: Archethic); new(): ExtendedTransactionBuilder; send(tx: TransactionBuilder): Promise; getTransactionIndex(address: string | Uint8Array): Promise; getTransactionFee(tx: TransactionBuilder): Promise; getTransactionOwnerships(address: string | Uint8Array, last?: boolean): Promise; } export declare class ExtendedTransactionBuilder extends TransactionBuilder { core: Archethic; sender: TransactionSender; constructor(core: Archethic); send(confirmationThreshold?: number, timeout?: number): void; on(eventName: string, fun: Function): this; unsubscribe(eventName: string): this; }