import { ComponentInternalInstance, Ref } from 'vue'; import { ControllerKey, ModalOrchestratorCreateParam, ModalOrchestratorParam, OrchestratorCreateOptions, PromiseWithComponent } from '../../types/ComponentOrchestratorTypes'; import { BModal } from '../../components'; export declare const useModal: () => { show: (id?: ControllerKey) => void; hide: (trigger?: string, id?: ControllerKey) => void; hideAll: (trigger?: string) => void; get: (id: ControllerKey) => { modal: import('../..').OrchestratorArrayValue; show(): void; hide(trigger?: string): void; } | { modal: ComponentInternalInstance; show(): void; hide(trigger?: string): void; } | null; current: () => { show(): void; hide(trigger?: string): void; modal: import('vue').ComputedRef, {}, {}, "", {}, any> | null | undefined>; } | null; create: >(obj?: ModalOrchestratorCreateParam, options?: OrchestratorCreateOptions) => PromiseWithComponent>; _isOrchestratorInstalled: Ref; store: Ref; }; /** * @deprecated use useModal() instead. * @returns {ReturnType} The modal controller */ export declare const useModalController: () => { show: (id?: ControllerKey) => void; hide: (trigger?: string, id?: ControllerKey) => void; hideAll: (trigger?: string) => void; get: (id: ControllerKey) => { modal: import('../..').OrchestratorArrayValue; show(): void; hide(trigger?: string): void; } | { modal: ComponentInternalInstance; show(): void; hide(trigger?: string): void; } | null; current: () => { show(): void; hide(trigger?: string): void; modal: import('vue').ComputedRef, {}, {}, "", {}, any> | null | undefined>; } | null; create: >(obj?: ModalOrchestratorCreateParam, options?: OrchestratorCreateOptions) => PromiseWithComponent>; _isOrchestratorInstalled: Ref; store: Ref; };