///
import { AptosAccount, AptosClient } from "aptos";
import type { Signer } from "arbundles";
import { AptosSigner } from "arbundles";
import BigNumber from "bignumber.js";
import type { CurrencyConfig, Tx } from "../../common/types";
import BaseNodeCurrency from "../currency";
export default class AptosConfig extends BaseNodeCurrency {
protected providerInstance?: AptosClient;
protected accountInstance: AptosAccount | undefined;
protected signerInstance: AptosSigner | undefined;
protected signingFn: (msg: Uint8Array) => Promise;
opts: any;
protected txLock: Promise;
protected locked: boolean;
constructor(config: CurrencyConfig);
getProvider(): Promise;
getTx(txId: string): Promise;
ownerToAddress(owner: any): string;
sign(data: Uint8Array): Promise;
getSigner(): Signer;
verify(pub: any, data: Uint8Array, signature: Uint8Array): Promise;
getCurrentHeight(): Promise;
getFee(amount: BigNumber.Value, to?: string): Promise<{
gasUnitPrice: number;
maxGasAmount: number;
}>;
sendTx(data: {
tx: Uint8Array;
unlock?: () => void;
}): Promise;
createTx(amount: BigNumber.Value, to: string, fee?: {
gasUnitPrice: number;
maxGasAmount: number;
}): Promise<{
txId: string | undefined;
tx: any;
}>;
getPublicKey(): string | Buffer;
ready(): Promise;
protected lock(): Promise;
}