import { MouseEvent, RefObject } from 'react'; import { OpenCloseTransitionStates } from '../../../internal/hooks/useOpenCloseTransitionStates/useOpenCloseTransitionStates'; /** * Context props for the Drawer component */ export type DrawerContextProps = { /** * Function to close the drawer. */ close: (e?: MouseEvent) => void; /** * Reference to the drawer dialog element. */ ref?: RefObject; /** * Reference to the drawer header element for sticky content positioning. */ headerRef?: RefObject; /** * The current transition state of the drawer. */ state?: OpenCloseTransitionStates; }; export declare const DrawerContext: import('react').Context;