import * as React from 'react'; import * as PropTypes from 'prop-types'; import { FlexProps as ReakitFlexProps } from 'reakit/ts'; import { Omit } from '../types'; import { SidebarProps } from '../Sidebar/Sidebar'; import { PageState } from './PageContainer'; export declare type LocalPageWithSidebarProps = { children: (({ page }: { page: PageState; }) => React.ReactNode) | React.ReactNode; hideSidebarOnDesktop?: boolean; sidebarContent: React.ReactElement; sidebarProps?: Omit; sidebarWidth?: string; theme?: Object; }; export declare type PageWithSidebarProps = ReakitFlexProps & LocalPageWithSidebarProps; export declare const PageWithSidebar: React.FunctionComponent; export declare const PageWithSidebarPropTypes: { children: PropTypes.Validator; hideSidebarOnDesktop: PropTypes.Requireable; sidebarContent: PropTypes.Validator; sidebarProps: PropTypes.Requireable; hideOnClickOutside: PropTypes.Requireable; delay: PropTypes.Requireable; duration: PropTypes.Requireable; expand: PropTypes.Validator; fade: PropTypes.Requireable; slide: PropTypes.Validator; timing: PropTypes.Requireable; align: PropTypes.Requireable; backdropFade: PropTypes.Requireable; children: PropTypes.Requireable; className: PropTypes.Requireable; isVisible: PropTypes.Requireable; hide: PropTypes.Requireable<(...args: any[]) => any>; hideCloseButton: PropTypes.Requireable; onClickClose: PropTypes.Requireable<(...args: any[]) => any>; width: PropTypes.Requireable; }>>; sidebarWidth: PropTypes.Requireable; theme: PropTypes.Requireable; }; export declare const PageWithSidebarDefaultProps: { hideSidebarOnDesktop: boolean; sidebarProps: {}; sidebarWidth: string; theme: {}; }; declare const C: React.FunctionComponent; export default C;