import { PrivateKey, PublicKey, Transaction } from "bsv"; import { ContractDescription } from "./scryptlib/contract"; import { Ledger } from "./ledger"; import { TokenContract } from "./tokenContract"; export declare class ParkingToken { tokenContract: TokenContract; ledger: Ledger; ownerPrivateKey: PrivateKey; ownerPublicKey: PublicKey; amount: number; fee: number; lockingTx: Transaction; lockingTxid: string; private constructor(); static deployContract(privateKey: PrivateKey, desc: ContractDescription): Promise; initContract(): Promise; initFromTxData(txData: string): Promise; addNewUser(publicKey: string): Promise; static fromTransaction(privateKey: PrivateKey, lastKnownTransaction: string, desc: ContractDescription): Promise; transferTokens(toAddress: string, amount: number): Promise; transferTokensJSON(toAddress: string, amount: number): Promise; payByJSON(txHex: string): Promise; private prepareCall; }