import { ArWallet, Contract, HandlerBasedContract, Warp } from "warp-contracts"; export declare type TokenState = { ticker: string; name: string | null | unknown; decimals: number; totalSupply: string; owner: string; balances: { [key: string]: string; }; allowances: { [key: string]: { [key: string]: string; }; }; }; export declare class Balance { balance: bigint; target: string; ticker: string; constructor({ balance, ticker, target, }: { balance: string; ticker: string; target: string; }); } export declare class Allowance { allowance: bigint; ticker: string; owner: string; spender: string; constructor({ allowance, ticker, owner, spender, }: { allowance: string; ticker: string; owner: string; spender: string; }); } export interface TokenContract extends Contract { allowance(owner: string, spender: string): Promise; balanceOf(target: string): Promise; currentState(): Promise; decimals(): Promise; name(): Promise; symbol(): Promise; totalSupply(): Promise; approve(spender: string, value: bigint): Promise; burn(amount: bigint): Promise; burnFrom(from: string, amount: bigint): Promise; transfer(to: string, value: bigint): Promise; transferFrom(from: string, to: string, value: bigint): Promise; } export declare class TokenContractImpl extends HandlerBasedContract implements TokenContract { private _mainnet; constructor(_contractTxId: string, warp: Warp, _mainnet?: boolean); currentState(): Promise; name(): Promise; symbol(): Promise; decimals(): Promise; totalSupply(): Promise; balanceOf(target: string): Promise; burn(amount: bigint): Promise; burnFrom(from: string, amount: BigInt): Promise; transfer(to: string, value: bigint): Promise; transferFrom(from: string, to: string, value: BigInt): Promise; approve(spender: string, value: BigInt): Promise; allowance(owner: string, spender: string): Promise; write(input: any): Promise; } export declare function connect(warp: Warp, contractTxId: string, wallet: ArWallet): Promise;