import { default as React, Dispatch, SetStateAction } from 'react'; import { NavigationProps } from '../_Navigation'; type MobileTriggerType = 'mobile'; type ProvidedTriggerType = 'provided'; declare const MOBILE_TRIGGER_TYPE: MobileTriggerType; declare const PROVIDED_TRIGGER_TYPE: ProvidedTriggerType; export interface SideNavContextValue { withMobile: boolean; isMobile: boolean; isSideNavOpen: boolean; setIsSideNavOpen: Dispatch>; toggleSideNav: () => void; navigation: React.ReactElement | null; setNavigation: Dispatch | null>>; triggerType: typeof MOBILE_TRIGGER_TYPE | typeof PROVIDED_TRIGGER_TYPE; interactedWith: boolean; isRTL: boolean; rootRef: React.RefObject; } export interface SideNavConfig { withMobile?: boolean; defaultOpen?: boolean; } export declare const SideNavProvider: React.FC<{ children: React.ReactNode; sideNavConfig?: SideNavConfig; }>; export declare const useSideNavContext: () => SideNavContextValue; export {};