import * as React from 'react'; interface State { activeStyles: string[]; activeRowType: string; activeView: string; } declare type Feature = 'add' | 'turn into' | 'image' | 'format-bold' | 'format-italic' | 'format-underline' | 'format-strikethrough-variant' | 'format-align-center' | 'format-color-fill' | 'format-color-text' | 'format-clear' | 'code' | 'duplicate' | 'format-indent-increase' | 'format-indent-decrease' | 'format-vertical-align-top' | 'format-vertical-align-bottom' | 'undo' | 'redo' | 'delete' | 'fullscreen' | 'keyboard-close'; export declare const FullFeatures: Feature[]; interface Props { features?: Feature[]; } declare class Toolbar extends React.Component { constructor(props: Props); componentDidMount(): void; componentWillUnmount(): void; activeStylesChanged: ({ activeStyles }: { activeStyles: string[]; }) => void; rowTypeChanged: ({ type }: { type: string; }) => void; emit: (event: string, params?: {}) => () => void; toggleFormatAlign: () => void; toggleFormatFill: () => void; toggleFormatColor: () => void; setDefaultView: () => void; selectColor: ({ color }: { color?: string | undefined; }) => () => void; renderColorPicker: () => JSX.Element; renderAlign: () => JSX.Element; renderIfFeature: (feature: Feature, ...children: React.ReactNode[]) => JSX.Element | null; renderDefault: () => JSX.Element; render(): JSX.Element; } export default Toolbar;