import type { Principal } from '@dfinity/principal'; export interface Metadata { 'fee': bigint; 'decimals': number; 'owner': Principal; 'logo': string; 'name': string; 'totalSupply': bigint; 'symbol': string; } export declare type Operation = { 'transferFrom': null; } | { 'burn': null; } | { 'mint': null; } | { 'approve': null; } | { 'transfer': null; }; declare type Time = bigint; /** @internal */ export interface ICNSToken { 'allowance': (arg_0: Principal, arg_1: Principal) => Promise; 'approve': (arg_0: Principal, arg_1: bigint) => Promise; 'balanceOf': (arg_0: Principal) => Promise; 'burn': (arg_0: bigint) => Promise; 'decimals': () => Promise; 'getAllowanceSize': () => Promise; 'getHolders': (arg_0: bigint, arg_1: bigint) => Promise>; 'getMetadata': () => Promise; 'getTokenFee': () => Promise; 'getTokenInfo': () => Promise; 'getTransaction': (arg_0: bigint) => Promise; 'getTransactions': (arg_0: bigint, arg_1: bigint) => Promise>; 'getUserApprovals': (arg_0: Principal) => Promise>; 'getUserTransactionAmount': (arg_0: Principal) => Promise; 'getUserTransactions': (arg_0: Principal, arg_1: bigint, arg_2: bigint) => Promise>; 'historySize': () => Promise; 'logo': () => Promise; 'mint': (arg_0: Principal, arg_1: bigint) => Promise; 'name': () => Promise; 'setFee': (arg_0: bigint) => Promise; 'setFeeTo': (arg_0: Principal) => Promise; 'setLogo': (arg_0: string) => Promise; 'setName': (arg_0: string) => Promise; 'setOwner': (arg_0: Principal) => Promise; 'symbol': () => Promise; 'totalSupply': () => Promise; 'transfer': (arg_0: Principal, arg_1: bigint) => Promise; 'transferFrom': (arg_0: Principal, arg_1: Principal, arg_2: bigint) => Promise; } interface TokenInfo { 'holderNumber': bigint; 'deployTime': Time; 'metadata': Metadata; 'historySize': bigint; 'cycles': bigint; 'feeTo': Principal; } declare type TransactionStatus = { 'inprogress': null; } | { 'failed': null; } | { 'succeeded': null; }; declare type WICPTxReceipt = { 'Ok': bigint; } | { 'Err': { 'InsufficientAllowance': null; } | { 'InsufficientBalance': null; } | { 'ErrorOperationStyle': null; } | { 'Unauthorized': null; } | { 'LedgerTrap': null; } | { 'ErrorTo': null; } | { 'Other': null; } | { 'BlockUsed': null; } | { 'AmountTooSmall': null; }; }; interface TxRecord { 'op': Operation; 'to': Principal; 'fee': bigint; 'status': TransactionStatus; 'from': Principal; 'timestamp': Time; 'caller': [] | [Principal]; 'index': bigint; 'amount': bigint; } export {};