import type { MutableRefObject, SyntheticEvent } from "react"; export type TransitionProps = { isEnabled: boolean; CSSVariable: string; }; export type useDialogProps = { ref: MutableRefObject; transition: TransitionProps; isOpen: boolean; onOpen?: () => void; onClose?: () => void; }; export declare const useDialog: (props: useDialogProps) => { open: () => void; close: (event?: SyntheticEvent) => void; };