UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

19 lines (18 loc) 849 B
import { Ref, WatchHandle } from 'vue'; import { ControllerKey, OrchestratorArrayValue, PromiseWithComponent } from '../types/ComponentOrchestratorTypes'; import { BvTriggerableEvent } from '../utils'; export declare function buildPromise<TComponent, TParam, TArrayValue extends OrchestratorArrayValue>(_id: ControllerKey, store: Ref<TArrayValue[]>): { value: PromiseWithComponent<TComponent, TParam>; resolve: (value: BvTriggerableEvent) => void; stop: WatchHandle | undefined; }; export declare const _newOrchestratorRegistry: () => { store: Ref<OrchestratorArrayValue[]>; _isOrchestratorInstalled: Ref<boolean>; _isToastAppend: Ref<boolean>; }; export declare const useOrchestratorRegistry: () => { store: Ref<OrchestratorArrayValue[]>; _isToastAppend: Ref<boolean>; _isOrchestratorInstalled: Ref<boolean>; };