import { type Ref, type UnwrapNestedRefs } from 'vue'; import { type AdminModalContext } from '../types'; import { type AdminModalKey } from '../data'; type ModalOpenFn = (modal: K, context?: AdminModalContext) => void; type ModalCloseFn = (modal: K) => void; type ModalStore = { loading: Ref; opened: Ref; context: Ref>; onOpen(callback: ModalOpenFn): void; onClose(callback: ModalCloseFn): void; open(modal: K, newContext?: AdminModalContext): void; close(): void; }; export declare const useModalStore: import("pinia").StoreDefinition<"modal", import("pinia")._UnwrapAll>, Pick, Pick>; export {};