import React, { PureComponent } from 'react'; declare type SideBarPosition = 'left' | 'right'; interface SideBarTheme { readonly 'sideBar': string; readonly 'sideBar--left': string; readonly 'sideBar--right': string; } export interface SideBarProps { /** * This prop controls the absolute positioning of the SideBar. */ readonly position: SideBarPosition; /** * An optional className to render on the div node. */ readonly className?: string; /** * The children to render within the div node. */ readonly children: React.ReactNode; /** * An optional css theme to be injected. */ readonly theme?: SideBarTheme; } declare class SideBar extends PureComponent { render(): JSX.Element; } export default SideBar;