import { Context, Ref } from 'react'; import { FloatingContext } from '@floating-ui/react'; export type DrawerPosition = 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start'; export interface DrawerContextState { open: boolean; onChangeOpen: (value: boolean) => void; context: FloatingContext; triggerRef?: Ref; contentRef?: Ref; triggerProps?: Record; contentProps?: Record; isMounted?: boolean; transitionStatus?: 'unmounted' | 'initial' | 'open' | 'close'; position?: DrawerPosition; } export declare const defaultDrawerContext: DrawerContextState; export declare const DrawerContext: Context;