declare function useModal(initial?: boolean): { open: () => void; close: () => void; value: boolean; toggle: () => void; }; export default useModal;