import type { Principal } from '@dfinity/principal'; import RegistryStandard from './registry_standard'; export declare type detail_value = { 'I64': bigint; } | { 'U64': bigint; } | { 'Vec': Array; } | { 'Slice': Array; } | { 'Text': string; } | { 'True': null; } | { 'False': null; } | { 'Float': number; } | { 'Principal': Principal; }; export declare type operation_error = { 'NotAuthorized': null; } | { 'BadParameters': null; } | { 'Unknown': string; } | { 'NonExistentItem': null; }; export declare type operation_response = { 'Ok': [] | [string]; } | { 'Err': operation_error; }; export interface token { 'thumbnail': string; 'name': string; 'frontend': [] | [string]; 'description': string; 'principal_id': Principal; 'details': Array<[string, detail_value]>; } export default interface TokenRegistry extends RegistryStandard { 'add': (arg_1: token) => Promise; 'get': (arg_0: Principal) => Promise<[] | [token]>; 'get_all': () => Promise>; 'name': () => Promise; 'remove': (arg_0: Principal) => Promise; 'set_controller': (arg_0: Principal) => Promise; }