import { SlotRegistry } from '@teambit/harmony'; import LegacyScope from '../../scope/scope'; import { PersistOptions } from '../../scope/types'; import { BitIds as ComponentsIds, BitId } from '../../bit-id'; import { Component, ComponentID } from '../component'; declare type TagRegistry = SlotRegistry; export declare type OnTag = (ids: BitId[]) => Promise; export declare class ScopeExtension { readonly legacyScope: LegacyScope; private tagRegistry; static id: string; constructor(legacyScope: LegacyScope, tagRegistry: TagRegistry); onTag(tagFn: OnTag): void; fetch(ids: ComponentsIds): void; persist(components: Component[], options: PersistOptions): void; get(id: string | ComponentID): Promise; static slots: ((registerFn: () => string) => SlotRegistry)[]; static provider(deps: any, config: any, [tagSlot]: [TagRegistry]): Promise; } export {};