import type { Dispatch, MutableRefObject, SetStateAction } from 'react'; import type { openCloseStates } from '../../hooks/useTransitionState'; import type { AppShellProps, UtilItemProps } from './AppShell.types'; export interface AppShellDrawerContextValue { drawerOpen: boolean; /** Name of the currently open drawer item; undefined when drawer is closed. */ openItemName: string | undefined; openDrawer: (item: UtilItemProps) => void; closeDrawer: () => void; /** Replace the currently open drawer item with a fresh copy (e.g. after data loads). */ refreshDrawer: (item: UtilItemProps) => void; } export declare const AppShellDrawerContext: import("react").Context; export interface AppShellContextValue { navOpen: boolean; drawerOpen: boolean; setDrawerOpen: (val: boolean) => void; navState: (typeof openCloseStates)[keyof typeof openCloseStates]; focusedImperatively: MutableRefObject; headerEl: HTMLDivElement | null; appHeaderEl?: HTMLDivElement | null; searchContainerEl: HTMLElement | null; setSearchContainerEl: (el: HTMLElement | null) => void; collapsedHoverMenus?: AppShellProps['collapsedHoverMenus']; isMobileNav: boolean; previewActive: boolean; setPreviewActive: Dispatch>; } declare const AppShellContext: import("react").Context; export default AppShellContext; //# sourceMappingURL=AppShellContext.d.ts.map