import { RefObject, Dispatch, SetStateAction, MouseEvent } from 'react'; import { OpenCloseTransitionStates } from '../../../internal/hooks/useOpenCloseTransitionStates/useOpenCloseTransitionStates'; export type DialogContextProps = { close: (e?: MouseEvent) => void; ref?: RefObject; hasOpenPopover?: boolean; setHasOpenPopover?: Dispatch>; headerRef?: RefObject; /** * The current transition state of the dialog. */ state?: OpenCloseTransitionStates; }; export declare const DialogContext: import('react').Context;