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