import type { Principal } from '@dfinity/principal'; export interface AuctionExt { 'endTime': bigint; 'name': string; 'finished': boolean; 'currentBid': BidExt; 'currentBidder': Principal; } export interface BidExt { 'name': string; 'state': BidState; 'timestamp': Time; 'price': bigint; } export declare type BidState = { 'win': null; } | { 'lost': null; } | { 'processing': null; }; /** @internal */ export interface ICNSRegistrar { 'addReserve': (arg_0: string) => Promise; 'addReserveBatch': (arg_0: string) => Promise; 'assignReservedName': (arg_0: string, arg_1: Principal) => Promise; 'available': (arg_0: string) => Promise; 'claimName': (arg_0: string) => Promise; 'getAllAuctions': () => Promise>; 'getAuction': (arg_0: string) => Promise<[] | [AuctionExt]>; 'getAuctionByEndTime': () => Promise>; 'getAuctionByPrice': () => Promise>; 'getBalance': (arg_0: Principal) => Promise; 'getInfo': () => Promise; 'getMinBidPrice': (arg_0: string) => Promise; 'getMinRaisePrice': (arg_0: string) => Promise; 'getRandomAuctions': (arg_0: bigint) => Promise>; 'getRenewPrice': (arg_0: string) => Promise; 'getReservedNames': () => Promise>; 'getTotalBalance': () => Promise<[bigint, bigint]>; 'getUserBids': (arg_0: Principal) => Promise>; 'getUserLostBids': (arg_0: Principal) => Promise>; 'getUserToClaimBids': (arg_0: Principal) => Promise>; 'getUserWinningBids': (arg_0: Principal) => Promise>; 'nameExpiry': (arg_0: string) => Promise; 'placeBid': (arg_0: string, arg_1: bigint) => Promise; 'removeReserve': (arg_0: string) => Promise; 'renew': (arg_0: string, arg_1: bigint) => Promise; 'setAuctionWindow': (arg_0: bigint) => Promise; 'setExtendWindow': (arg_0: bigint) => Promise; 'setFeeToken': (arg_0: Principal) => Promise; 'setMinBidPrices': (arg_0: Array) => Promise; 'setMinRaisePrices': (arg_0: Array) => Promise; 'setPaused': (arg_0: boolean) => Promise; 'setRenewPrices': (arg_0: Array) => Promise; 'setResolver': (arg_0: Principal) => Promise; 'setThresholdWindow': (arg_0: bigint) => Promise; 'setTokenTxFee': (arg_0: bigint) => Promise; 'withdraw': () => Promise; 'withdrawFund': (arg_0: bigint) => Promise; } export interface Info { 'extendWindow': bigint; 'memSize': bigint; 'heapSize': bigint; 'auctionWindow': bigint; 'bidUsers': bigint; 'feeToken': Principal; 'auctions': bigint; 'balanceUsers': bigint; 'totalDebt': bigint; 'minRaisePrices': Array; 'minBidPrices': Array; 'cycles': bigint; 'renewPrices': Array; 'totalBalance': bigint; 'paused': boolean; 'thresholdWindow': bigint; } declare type Result = { 'ok': null; } | { 'err': string; }; declare type Result_1 = { 'ok': boolean; } | { 'err': string; }; declare type Result_2 = { 'ok': bigint; } | { 'err': string; }; declare type Result_3 = { 'ok': bigint; } | { 'err': string; }; declare type Time = bigint; export declare type TxReceipt = { 'ok': bigint; } | { 'err': string; }; export {};