import React, { PureComponent } from 'react'; declare type BarPosition = 'top' | 'bottom'; interface BarTheme { readonly 'bar': string; readonly 'bar--top': string; readonly 'bar--bottom': string; } export interface BarProps { /** * This prop controls the vertical positioning of the Bar. */ readonly position: BarPosition; /** * An optional css theme to be injected. */ readonly theme?: BarTheme; /** * An optional `className` to attach to the wrapper. */ readonly className?: string; /** * The contents to be rendered within the `Bar`. */ readonly children: React.ReactNode; } declare class Bar extends PureComponent { render(): JSX.Element; } export default Bar;