UNPKG

bootstrap-vue-next

Version:

BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.

19 lines (18 loc) 866 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 | boolean | null) => 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>; };