import { type ComputedRef, type Ref } from 'vue'; import { type AdminModalKey } from '../../data'; type UseModalContext = (modalId?: Ref, onSave?: Ref, onCancel?: Ref) => null | { loading: Ref; modalData: Ref; onButtonClick: (type: string) => Promise; setLoading: (state: boolean) => void; shown: ComputedRef; }; export declare const useModalContext: UseModalContext; export {};