import type { LayoutProps } from '../layout.js'; import type { DrawerConfig, DrawerContentType } from '../types/index.js'; /** * The useSidebarDrawerConfig hook is used to determine which content should be displayed * in the sidebar drawer. It takes the current drawer content type and then returns the * appropriate drawer configuration. If the drawer content type is not recognised, it * returns undefined so that the drawer is not shown. * */ export declare const useSidebarDrawerConfig: ({ drawerContentType, setDrawerContentType, entities, navigation, navigationSecondary, setOpen, user, action, entityDrawers, isMobileScreen, }: Pick & { isMobileScreen: boolean; drawerContentType: DrawerContentType; setDrawerContentType: (drawerContentType: DrawerContentType) => void; setOpen: (open: boolean) => void; }) => DrawerConfig | undefined; export default useSidebarDrawerConfig;