UNPKG

@difizen/magent-au

Version:
17 lines 684 B
import { Fetcher } from '@difizen/magent-core'; import type { FecterResponse } from '@difizen/magent-core'; import type { PluginModel } from './plugin-model.js'; import type { PluginMeta } from './protocol.js'; import { PluginFactory } from './protocol.js'; export declare class PluginManager { factory: PluginFactory; fetcher: Fetcher; cache: Map<string, PluginModel>; publicList: PluginModel[]; loading: boolean; getAll: () => Promise<PluginMeta[]>; updatePublic: () => Promise<void>; getOrCreate: (option: PluginMeta) => PluginModel; create: (option: PluginMeta) => Promise<FecterResponse<string>>; } //# sourceMappingURL=plugin-manager.d.ts.map