/// import type { Signer } from "arbundles"; import BigNumber from "bignumber.js"; import type { TokenConfig, Tx } from "../../common/types"; import { BaseNodeToken } from "../token"; import type { Finality } from "@solana/web3.js"; import { Connection } from "@solana/web3.js"; export default class SolanaConfig extends BaseNodeToken { protected providerInstance: Connection; minConfirm: number; protected finality: Finality; constructor(config: TokenConfig); private getProvider; private getKeyPair; 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; sendTx(data: any): Promise; createTx(amount: BigNumber.Value, to: string, _fee?: string): Promise<{ txId: string | undefined; tx: any; }>; getPublicKey(): string | Buffer; }