import { HttpAgent } from '@dfinity/agent'; import Registry from './standard_registry'; import { FormattedMetadata } from '../utils/registry'; import { Principal } from '@dfinity/principal'; interface CanisterMetadata { url: string; name: string; description: string; version: number; logo_url: string; canisterId: string; } export declare class CanisterRegistry extends Registry { constructor(agent?: HttpAgent); getAll: () => Promise; } export declare const getCanisterInfo: ({ canisterId, agent, }: { canisterId: Principal | string; agent?: HttpAgent | undefined; }) => Promise; export declare const getMultipleCanisterInfo: ({ canisterIds, agent, }: { canisterIds: (string | Principal)[]; agent?: HttpAgent | undefined; }) => Promise; export declare const getAll: (agent?: HttpAgent | undefined) => Promise; declare const _default: { getCanisterInfo: ({ canisterId, agent, }: { canisterId: string | Principal; agent?: HttpAgent | undefined; }) => Promise; getMultipleCanisterInfo: ({ canisterIds, agent, }: { canisterIds: (string | Principal)[]; agent?: HttpAgent | undefined; }) => Promise; getAll: (agent: HttpAgent) => () => Promise; }; export default _default;