import { ManagedRegistry } from '../ManagedRegistry.js';
export class PluginRegistry extends ManagedRegistry {
    constructor() {
        super({ componentName: 'PluginRegistry', idField: 'id' });
    }
    listByScope(scope) {
        return this.getAll().filter((def) => def.scope === scope);
    }
    listByStatus(status) {
        return this.getAll().filter((def) => def.status === status);
    }
    findByName(name) {
        return this.getAll().find((def) => def.manifest.name === name);
    }
}
//# sourceMappingURL=index.js.map