import type { Principal } from '@dfinity/principal'; import type { ActorMethod } from '@dfinity/agent'; export declare type Account = { 'account_id': string; } | { 'principal': Principal; } | { 'extensible': CandyValue; }; export declare type AccountIdentifier = string; export interface AllocationRecordStable { 'allocated_space': bigint; 'token_id': string; 'available_space': bigint; 'canister': Principal; 'chunks': Array; 'library_id': string; } export interface AuctionConfig { 'start_price': bigint; 'token': TokenSpec; 'reserve': [] | [bigint]; 'start_date': bigint; 'min_increase': { 'amount': bigint; } | { 'percentage': number; }; 'allow_list': [] | [Array]; 'buy_now': [] | [bigint]; 'ending': { 'waitForQuiet': { 'max': bigint; 'date': bigint; 'fade': number; 'extention': bigint; }; } | { 'date': bigint; }; } export interface AuctionStateStable { 'status': { 'closed': null; } | { 'open': null; } | { 'not_started': null; }; 'participants': Array<[Principal, bigint]>; 'current_bid_amount': bigint; 'winner': [] | [Account]; 'end_date': bigint; 'wait_for_quiet_count': [] | [bigint]; 'current_escrow': [] | [EscrowReceipt]; 'allow_list': [] | [Array<[Principal, boolean]>]; 'min_next_bid': bigint; 'config': PricingConfig; } export declare type Balance = bigint; export interface BalanceRequest { 'token': TokenIdentifier; 'user': User; } export interface BalanceResponse { 'nfts': Array; 'sales': Array; 'stake': Array; 'multi_canister': [] | [Array]; 'escrow': Array; } export declare type BalanceResponse__1 = { 'ok': Balance; } | { 'err': CommonError; }; export interface BidRequest { 'escrow_receipt': EscrowReceipt; 'sale_id': string; } export interface BidResponse { 'token_id': string; 'txn_type': { 'escrow_deposit': { 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_network_updated': { 'network': Principal; 'extensible': CandyValue; }; } | { 'escrow_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_managers_updated': { 'managers': Array; 'extensible': CandyValue; }; } | { 'auction_bid': { 'token': TokenSpec; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': string; }; } | { 'burn': null; } | { 'data': null; } | { 'sale_ended': { 'token': TokenSpec; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': [] | [string]; }; } | { 'mint': { 'to': Account; 'from': Account; 'sale': [] | [{ 'token': TokenSpec; 'amount': bigint; }]; 'extensible': CandyValue; }; } | { 'extensible': CandyValue; } | { 'owner_transfer': { 'to': Account; 'from': Account; 'extensible': CandyValue; }; } | { 'sale_opened': { 'pricing': PricingConfig; 'extensible': CandyValue; 'sale_id': string; }; } | { 'canister_owner_updated': { 'owner': Principal; 'extensible': CandyValue; }; } | { 'sale_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; }; 'timestamp': bigint; 'index': bigint; } export declare type CandyValue = { 'Int': bigint; } | { 'Nat': bigint; } | { 'Empty': null; } | { 'Nat16': number; } | { 'Nat32': number; } | { 'Nat64': bigint; } | { 'Blob': Array; } | { 'Bool': boolean; } | { 'Int8': number; } | { 'Nat8': number; } | { 'Nats': { 'thawed': Array; } | { 'frozen': Array; }; } | { 'Text': string; } | { 'Bytes': { 'thawed': Array; } | { 'frozen': Array; }; } | { 'Int16': number; } | { 'Int32': number; } | { 'Int64': bigint; } | { 'Option': [] | [CandyValue]; } | { 'Floats': { 'thawed': Array; } | { 'frozen': Array; }; } | { 'Float': number; } | { 'Principal': Principal; } | { 'Array': { 'thawed': Array; } | { 'frozen': Array; }; } | { 'Class': Array; }; export declare type ChunkContent = { 'remote': { 'args': ChunkRequest; 'canister': Principal; }; } | { 'chunk': { 'total_chunks': bigint; 'content': Array; 'storage_allocation': AllocationRecordStable; 'current_chunk': [] | [bigint]; }; }; export interface ChunkRequest { 'token_id': string; 'chunk': [] | [bigint]; 'library_id': string; } export interface CollectionInfo { 'multi_canister_count': [] | [bigint]; 'managers': [] | [Array]; 'owner': [] | [Principal]; 'metadata': [] | [CandyValue]; 'logo': [] | [string]; 'name': [] | [string]; 'network': [] | [Principal]; 'fields': [] | [Array<[string, [] | [bigint], [] | [bigint]]>]; 'token_ids_count': [] | [bigint]; 'available_space': [] | [bigint]; 'multi_canister': [] | [Array]; 'token_ids': [] | [Array]; 'total_supply': [] | [bigint]; 'symbol': [] | [string]; 'allocated_storage': [] | [bigint]; } export declare type CollectionUpdateItem = { 'metadata': [] | [CandyValue]; } | { 'logo': [] | [string]; } | { 'name': [] | [string]; } | { 'symbol': [] | [string]; }; export declare type CollectionUpdateRequest = Array; export declare type CommonError = { 'InvalidToken': TokenIdentifier; } | { 'Other': string; }; export interface DepositDetail { 'token': TokenSpec; 'trx_id': TransactionID; 'seller': Account; 'buyer': Account; 'amount': bigint; 'sale_id': [] | [string]; } export interface EndSaleResponse { 'token_id': string; 'txn_type': { 'escrow_deposit': { 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_network_updated': { 'network': Principal; 'extensible': CandyValue; }; } | { 'escrow_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_managers_updated': { 'managers': Array; 'extensible': CandyValue; }; } | { 'auction_bid': { 'token': TokenSpec; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': string; }; } | { 'burn': null; } | { 'data': null; } | { 'sale_ended': { 'token': TokenSpec; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': [] | [string]; }; } | { 'mint': { 'to': Account; 'from': Account; 'sale': [] | [{ 'token': TokenSpec; 'amount': bigint; }]; 'extensible': CandyValue; }; } | { 'extensible': CandyValue; } | { 'owner_transfer': { 'to': Account; 'from': Account; 'extensible': CandyValue; }; } | { 'sale_opened': { 'pricing': PricingConfig; 'extensible': CandyValue; 'sale_id': string; }; } | { 'canister_owner_updated': { 'owner': Principal; 'extensible': CandyValue; }; } | { 'sale_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; }; 'timestamp': bigint; 'index': bigint; } export declare type Errors = { 'nyi': null; } | { 'storage_configuration_error': null; } | { 'escrow_withdraw_payment_failed': null; } | { 'token_not_found': null; } | { 'owner_not_found': null; } | { 'content_not_found': null; } | { 'auction_ended': null; } | { 'out_of_range': null; } | { 'sale_id_does_not_match': null; } | { 'sale_not_found': null; } | { 'item_not_owned': null; } | { 'property_not_found': null; } | { 'validate_trx_wrong_host': null; } | { 'withdraw_too_large': null; } | { 'content_not_deserializable': null; } | { 'bid_too_low': null; } | { 'validate_deposit_wrong_amount': null; } | { 'existing_sale_found': null; } | { 'asset_mismatch': null; } | { 'escrow_cannot_be_removed': null; } | { 'deposit_burned': null; } | { 'cannot_restage_minted_token': null; } | { 'cannot_find_status_in_metadata': null; } | { 'receipt_data_mismatch': null; } | { 'validate_deposit_failed': null; } | { 'unauthorized_access': null; } | { 'item_already_minted': null; } | { 'no_escrow_found': null; } | { 'escrow_owner_not_the_owner': null; } | { 'improper_interface': null; } | { 'app_id_not_found': null; } | { 'token_non_transferable': null; } | { 'sale_not_over': null; } | { 'update_class_error': null; } | { 'malformed_metadata': null; } | { 'token_id_mismatch': null; } | { 'id_not_found_in_metadata': null; } | { 'auction_not_started': null; } | { 'library_not_found': null; } | { 'attempt_to_stage_system_data': null; } | { 'validate_deposit_wrong_buyer': null; } | { 'not_enough_storage': null; } | { 'sales_withdraw_payment_failed': null; }; export interface EscrowReceipt { 'token': TokenSpec; 'token_id': string; 'seller': Account; 'buyer': Account; 'amount': bigint; } export interface EscrowRecord { 'token': TokenSpec; 'token_id': string; 'seller': Account; 'lock_to_date': [] | [bigint]; 'buyer': Account; 'amount': bigint; 'sale_id': [] | [string]; } export interface EscrowRequest { 'token_id': string; 'deposit': DepositDetail; 'lock_to_date': [] | [bigint]; } export interface EscrowResponse { 'balance': bigint; 'receipt': EscrowReceipt; 'transaction': TransactionRecord; } export interface HTTPResponse { 'body': Array; 'headers': Array; 'streaming_strategy': [] | [StreamingStrategy]; 'status_code': number; } export declare type HeaderField = [string, string]; export declare type HeaderField__1 = [string, string]; export interface HttpRequest { 'url': string; 'method': string; 'body': Array; 'headers': Array; } export interface ICTokenSpec { 'fee': bigint; 'decimals': bigint; 'canister': Principal; 'standard': { 'EXTFungible': null; } | { 'DIP20': null; } | { 'Ledger': null; }; 'symbol': string; } export interface InitArgs { 'owner': Principal; 'storage_space': [] | [bigint]; } export interface LogEntry { 'data': CandyValue; 'event': string; 'timestamp': bigint; 'caller': [] | [Principal]; } export declare type ManageCommand = { 'UpdateOwner': Principal; } | { 'UpdateManagers': Array; } | { 'UpdateNetwork': [] | [Principal]; }; export declare type ManageStorageRequest = { 'add_storage_canisters': Array<[ Principal, bigint, [bigint, bigint, bigint] ]>; }; export declare type ManageStorageResponse = { 'add_storage_canisters': [bigint, bigint]; }; export interface MarketTransferRequest { 'token_id': string; 'sales_config': SalesConfig; } export interface MarketTransferRequestReponse { 'token_id': string; 'txn_type': { 'escrow_deposit': { 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_network_updated': { 'network': Principal; 'extensible': CandyValue; }; } | { 'escrow_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_managers_updated': { 'managers': Array; 'extensible': CandyValue; }; } | { 'auction_bid': { 'token': TokenSpec; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': string; }; } | { 'burn': null; } | { 'data': null; } | { 'sale_ended': { 'token': TokenSpec; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': [] | [string]; }; } | { 'mint': { 'to': Account; 'from': Account; 'sale': [] | [{ 'token': TokenSpec; 'amount': bigint; }]; 'extensible': CandyValue; }; } | { 'extensible': CandyValue; } | { 'owner_transfer': { 'to': Account; 'from': Account; 'extensible': CandyValue; }; } | { 'sale_opened': { 'pricing': PricingConfig; 'extensible': CandyValue; 'sale_id': string; }; } | { 'canister_owner_updated': { 'owner': Principal; 'extensible': CandyValue; }; } | { 'sale_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; }; 'timestamp': bigint; 'index': bigint; } export declare type Memo = Array; export declare type Metadata = { 'fungible': { 'decimals': number; 'metadata': [] | [Array]; 'name': string; 'symbol': string; }; } | { 'nonfungible': { 'metadata': [] | [Array]; }; }; export interface NFTInfoStable { 'metadata': CandyValue; 'current_sale': [] | [SaleStatusStable]; } export declare type NFTUpdateRequest = { 'update': { 'token_id': string; 'update': UpdateRequest; 'app_id': string; }; } | { 'replace': { 'token_id': string; 'data': CandyValue; }; }; export declare type NFTUpdateResponse = boolean; export declare type NftError = { 'UnauthorizedOperator': null; } | { 'SelfTransfer': null; } | { 'TokenNotFound': null; } | { 'UnauthorizedOwner': null; } | { 'TxNotFound': null; } | { 'SelfApprove': null; } | { 'OperatorNotFound': null; } | { 'ExistedNFT': null; } | { 'OwnerNotFound': null; } | { 'Other': string; }; export interface Nft_Canister { '__advance_time': ActorMethod<[bigint], bigint>; '__set_time_mode': ActorMethod<[ { 'test': null; } | { 'standard': null; } ], boolean>; 'balance': ActorMethod<[BalanceRequest], BalanceResponse__1>; 'balanceEXT': ActorMethod<[BalanceRequest], BalanceResponse__1>; 'balanceOfDip721': ActorMethod<[Principal], bigint>; 'balance_of_nft_origyn': ActorMethod<[Account], Result_19>; 'bearer': ActorMethod<[TokenIdentifier], Result_18>; 'bearerEXT': ActorMethod<[TokenIdentifier], Result_18>; 'bearer_batch_nft_origyn': ActorMethod<[Array], Array>; 'bearer_nft_origyn': ActorMethod<[string], Result_17>; 'bid_nft_origyn': ActorMethod<[BidRequest], Result_16>; 'canister_status': ActorMethod<[ { 'canister_id': canister_id; } ], canister_status>; 'chunk_nft_origyn': ActorMethod<[ChunkRequest], Result_15>; 'collection_nft_origyn': ActorMethod<[ [] | [Array<[string, [] | [bigint], [] | [bigint]]>] ], Result_14>; 'collection_update_origyn': ActorMethod<[CollectionUpdateRequest], Result_9>; 'current_log': ActorMethod<[], Array>; 'cycles': ActorMethod<[], bigint>; 'end_sale_nft_origyn': ActorMethod<[string], Result_13>; 'escrow_nft_origyn': ActorMethod<[EscrowRequest], Result_12>; 'getEXTTokenIdentifier': ActorMethod<[string], string>; 'get_access_key': ActorMethod<[], Result_2>; 'get_canister_managers_nft_origyn': ActorMethod<[], Array>; 'get_canister_network_nft_origyn': ActorMethod<[], [] | [Principal]>; 'get_canister_owner_nft_origyn': ActorMethod<[], Principal>; 'get_nat_as_token_id_origyn': ActorMethod<[bigint], string>; 'get_owner_soulbound': ActorMethod<[CandyValue], boolean>; 'get_storage_metrics': ActorMethod<[], Result_11>; 'get_token_id_as_nat_origyn': ActorMethod<[string], bigint>; 'harvest_log': ActorMethod<[bigint], Array>>; 'history_nft_origyn': ActorMethod<[ string, [] | [bigint], [] | [bigint] ], Result_10>; 'http_access_key': ActorMethod<[], Result_2>; 'http_request': ActorMethod<[HttpRequest], HTTPResponse>; 'http_request_streaming_callback': ActorMethod<[ StreamingCallbackToken ], StreamingCallbackResponse>; 'log_history_page': ActorMethod<[bigint], Array>; 'log_history_page_chunk': ActorMethod<[ bigint, bigint, bigint ], Array>; 'log_history_size': ActorMethod<[], bigint>; 'manage_nft_origyn': ActorMethod<[ManageCommand], Result_9>; 'manage_storage_nft_origyn': ActorMethod<[ManageStorageRequest], Result_8>; 'market_transfer_batch_nft_origyn': ActorMethod<[ Array ], Array>; 'market_transfer_nft_origyn': ActorMethod<[MarketTransferRequest], Result_7>; 'metadata': ActorMethod<[TokenIdentifier], Result_6>; 'mint__batch_nft_origyn': ActorMethod<[ Array<[string, Account]> ], Array>; 'mint_nft_origyn': ActorMethod<[string, Account], Result_2>; 'nftStreamingCallback': ActorMethod<[ StreamingCallbackToken ], StreamingCallbackResponse>; 'nft_batch_origyn': ActorMethod<[Array], Array>; 'nft_origyn': ActorMethod<[string], Result_5>; 'nuke_log': ActorMethod<[], undefined>; 'ownerOf': ActorMethod<[bigint], OwnerOfResponse>; 'ownerOfDIP721': ActorMethod<[bigint], OwnerOfResponse>; 'owner_transfer_nft_origyn': ActorMethod<[OwnerTransferRequest], Result_4>; 'set_log_harvester_id': ActorMethod<[Principal], undefined>; 'stage_batch_nft_origyn': ActorMethod<[ Array<{ 'metadata': CandyValue; }> ], Array>; 'stage_library_nft_origyn': ActorMethod<[StageChunkArg], Result_3>; 'stage_nft_origyn': ActorMethod<[{ 'metadata': CandyValue; }], Result_2>; 'transfer': ActorMethod<[TransferRequest], TransferResponse>; 'transferEXT': ActorMethod<[TransferRequest], TransferResponse>; 'transferFrom': ActorMethod<[Principal, Principal, bigint], Result__1>; 'transferFromDip721': ActorMethod<[Principal, Principal, bigint], Result__1>; 'update_app_nft_origyn': ActorMethod<[NFTUpdateRequest], Result_1>; 'whoami': ActorMethod<[], Principal>; 'withdraw_nft_origyn': ActorMethod<[WithdrawRequest], Result>; } export interface OrigynError { 'text': string; 'error': Errors; 'number': number; 'flag_point': string; } export declare type OwnerOfResponse = { 'Ok': [] | [Principal]; } | { 'Err': NftError; }; export interface OwnerTransferRequest { 'to': Account; 'token_id': string; 'from': Account; } export interface OwnerTransferResponse { 'transaction': TransactionRecord; 'assets': Array; } export declare type PricingConfig = { 'flat': { 'token': TokenSpec; 'amount': bigint; }; } | { 'extensible': { 'candyClass': null; }; } | { 'instant': null; } | { 'auction': AuctionConfig; } | { 'dutch': { 'start_price': bigint; 'reserve': [] | [bigint]; 'decay_per_hour': number; }; }; export interface Property { 'value': CandyValue; 'name': string; 'immutable': boolean; } export declare type Result = { 'ok': WithdrawResponse; } | { 'err': OrigynError; }; export declare type Result_1 = { 'ok': NFTUpdateResponse; } | { 'err': OrigynError; }; export declare type Result_10 = { 'ok': Array; } | { 'err': OrigynError; }; export declare type Result_11 = { 'ok': StorageMetrics; } | { 'err': OrigynError; }; export declare type Result_12 = { 'ok': EscrowResponse; } | { 'err': OrigynError; }; export declare type Result_13 = { 'ok': EndSaleResponse; } | { 'err': OrigynError; }; export declare type Result_14 = { 'ok': CollectionInfo; } | { 'err': OrigynError; }; export declare type Result_15 = { 'ok': ChunkContent; } | { 'err': OrigynError; }; export declare type Result_16 = { 'ok': BidResponse; } | { 'err': OrigynError; }; export declare type Result_17 = { 'ok': Account; } | { 'err': OrigynError; }; export declare type Result_18 = { 'ok': AccountIdentifier; } | { 'err': CommonError; }; export declare type Result_19 = { 'ok': BalanceResponse; } | { 'err': OrigynError; }; export declare type Result_2 = { 'ok': string; } | { 'err': OrigynError; }; export declare type Result_3 = { 'ok': StageLibraryResponse; } | { 'err': OrigynError; }; export declare type Result_4 = { 'ok': OwnerTransferResponse; } | { 'err': OrigynError; }; export declare type Result_5 = { 'ok': NFTInfoStable; } | { 'err': OrigynError; }; export declare type Result_6 = { 'ok': Metadata; } | { 'err': CommonError; }; export declare type Result_7 = { 'ok': MarketTransferRequestReponse; } | { 'err': OrigynError; }; export declare type Result_8 = { 'ok': ManageStorageResponse; } | { 'err': OrigynError; }; export declare type Result_9 = { 'ok': boolean; } | { 'err': OrigynError; }; export declare type Result__1 = { 'Ok': bigint; } | { 'Err': NftError; }; export interface SaleStatusStable { 'token_id': string; 'sale_type': { 'auction': AuctionStateStable; }; 'sale_id': string; } export interface SalesConfig { 'pricing': PricingConfig; 'escrow_receipt': [] | [EscrowReceipt]; } export interface StageChunkArg { 'content': Array; 'token_id': string; 'chunk': bigint; 'filedata': CandyValue; 'library_id': string; } export interface StageLibraryResponse { 'canister': Principal; } export interface StakeRecord { 'staker': Account; 'token_id': string; 'amount': bigint; } export interface StorageMetrics { 'available_space': bigint; 'allocated_storage': bigint; } export interface StreamingCallbackResponse { 'token': [] | [StreamingCallbackToken]; 'body': Array; } export interface StreamingCallbackToken { 'key': string; 'index': bigint; 'content_encoding': string; } export declare type StreamingStrategy = { 'Callback': { 'token': StreamingCallbackToken; 'callback': [Principal, string]; }; }; export declare type SubAccount = Array; export declare type TokenIdentifier = string; export declare type TokenSpec = { 'ic': ICTokenSpec; } | { 'extensible': CandyValue; }; export declare type TransactionID = { 'nat': bigint; } | { 'text': string; } | { 'extensible': CandyValue; }; export interface TransactionRecord { 'token_id': string; 'txn_type': { 'escrow_deposit': { 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_network_updated': { 'network': Principal; 'extensible': CandyValue; }; } | { 'escrow_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_managers_updated': { 'managers': Array; 'extensible': CandyValue; }; } | { 'auction_bid': { 'token': TokenSpec; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': string; }; } | { 'burn': null; } | { 'data': null; } | { 'sale_ended': { 'token': TokenSpec; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': [] | [string]; }; } | { 'mint': { 'to': Account; 'from': Account; 'sale': [] | [{ 'token': TokenSpec; 'amount': bigint; }]; 'extensible': CandyValue; }; } | { 'extensible': CandyValue; } | { 'owner_transfer': { 'to': Account; 'from': Account; 'extensible': CandyValue; }; } | { 'sale_opened': { 'pricing': PricingConfig; 'extensible': CandyValue; 'sale_id': string; }; } | { 'canister_owner_updated': { 'owner': Principal; 'extensible': CandyValue; }; } | { 'sale_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; }; 'timestamp': bigint; 'index': bigint; } export interface TransferRequest { 'to': User; 'token': TokenIdentifier; 'notify': boolean; 'from': User; 'memo': Memo; 'subaccount': [] | [SubAccount]; 'amount': Balance; } export declare type TransferResponse = { 'ok': Balance; } | { 'err': { 'CannotNotify': AccountIdentifier; } | { 'InsufficientBalance': null; } | { 'InvalidToken': TokenIdentifier; } | { 'Rejected': null; } | { 'Unauthorized': AccountIdentifier; } | { 'Other': string; }; }; export interface Update { 'mode': UpdateMode; 'name': string; } export declare type UpdateMode = { 'Set': CandyValue; } | { 'Lock': CandyValue; } | { 'Next': Array; }; export interface UpdateRequest { 'id': string; 'update': Array; } export declare type User = { 'principal': Principal; } | { 'address': AccountIdentifier; }; export interface WithdrawDescription { 'token': TokenSpec; 'token_id': string; 'seller': Account; 'withdraw_to': Account; 'buyer': Account; 'amount': bigint; } export declare type WithdrawRequest = { 'sale': WithdrawDescription; } | { 'escrow': WithdrawDescription; }; export interface WithdrawResponse { 'token_id': string; 'txn_type': { 'escrow_deposit': { 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_network_updated': { 'network': Principal; 'extensible': CandyValue; }; } | { 'escrow_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; } | { 'canister_managers_updated': { 'managers': Array; 'extensible': CandyValue; }; } | { 'auction_bid': { 'token': TokenSpec; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': string; }; } | { 'burn': null; } | { 'data': null; } | { 'sale_ended': { 'token': TokenSpec; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; 'sale_id': [] | [string]; }; } | { 'mint': { 'to': Account; 'from': Account; 'sale': [] | [{ 'token': TokenSpec; 'amount': bigint; }]; 'extensible': CandyValue; }; } | { 'extensible': CandyValue; } | { 'owner_transfer': { 'to': Account; 'from': Account; 'extensible': CandyValue; }; } | { 'sale_opened': { 'pricing': PricingConfig; 'extensible': CandyValue; 'sale_id': string; }; } | { 'canister_owner_updated': { 'owner': Principal; 'extensible': CandyValue; }; } | { 'sale_withdraw': { 'fee': bigint; 'token': TokenSpec; 'token_id': string; 'trx_id': TransactionID; 'seller': Account; 'extensible': CandyValue; 'buyer': Account; 'amount': bigint; }; }; 'timestamp': bigint; 'index': bigint; } export declare type canister_id = Principal; export interface canister_status { 'status': { 'stopped': null; } | { 'stopping': null; } | { 'running': null; }; 'memory_size': bigint; 'cycles': bigint; 'settings': definite_canister_settings; 'module_hash': [] | [Array]; } export interface definite_canister_settings { 'freezing_threshold': bigint; 'controllers': [] | [Array]; 'memory_allocation': bigint; 'compute_allocation': bigint; } export default interface _SERVICE extends Nft_Canister { }