import * as React from 'react'; import { BoxProps } from '../Box'; import { DrawerProps } from '../Drawer'; import { DisclosureProps } from '../Disclosure'; export declare type LocalPageWithSidebarProps = { /** Sets the sidebar component. */ sidebar: React.ReactElement; /** Sets the width of the sidebar. */ sidebarWidth?: string; /** Sets the placement of the sidebar. */ sidebarPlacement?: 'left' | 'right'; /** Sets the width of the collapsed (mobile) sidebar. */ collapsedSidebarWidth?: string; /** Props to spread on the collapsed (mobile) sidebar. */ collapsedSidebarProps?: Partial; /** Props to spread on the expanded sidebar. */ expandedSidebarProps?: Partial; /** Sets the initial visibility of the sidebar. */ defaultIsVisible?: boolean; /** Sets the width of the minimized sidebar. */ minimizedSidebarWidth?: string; }; export declare type PageWithSidebarProps = BoxProps & LocalPageWithSidebarProps; export declare const PageWithSidebar: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };