import { ReactNode } from 'react'; import { AllowedContext } from '../types.js'; type Props = { /** * Platform value which defines what color to use in the header. */ context?: `${AllowedContext}` | AllowedContext; /** * Content to display inside the drawer / sidebar */ drawerContent: ReactNode; /** * Content to display inside the footer */ footerContent?: ReactNode; /** * Content to display inside the main area. * This is usually the page content */ children: ReactNode; /** * Left content presented in the header */ headerLeftContent?: ReactNode; /** * Right content presented in the header */ headerRightContent?: ReactNode; /** * Override the state of the drawer * defaults to `false` */ open?: boolean; /** * Wrapper component that supplies a link facility wrapping the logo */ LinkComponent?: (props: { children: ReactNode; }) => JSX.Element; /** * Component that should be rendered to show the platform switch */ PlatformComponent?: JSX.Element; /** * Id of the header element for testing purposes */ headerId?: string; /** * Aria label to put on the button that opens and closes the drawer * This should be a translated string reading i.e: `open drawer` */ drawerOpenAriaLabel: string; /** * Color of the background */ backgroundColor?: string; }; declare const MainWithDrawerWrapper: (props: Props) => JSX.Element; export default MainWithDrawerWrapper;