import * as React from "react"; import "./style.less"; export declare type CustomControl = { object?: "mark" | "align"; type: string; placeholder?: string; component: React.ComponentType | React.ElementType; }; export declare type Control = "fontSize" | "fontColor" | "bold" | "italic" | "u" | "sup" | "sub" | "left" | "right" | "center" | "justify" | "image" | "video" | "pdf" | "math" | CustomControl; declare class ToolBar extends React.Component { hasMark(type: string): boolean; onClickMark: (event: any, type: string) => void; renderComponent: (component: any) => any; renderMarkBtn: (item: CustomControl) => JSX.Element; renderIndentButton: (type: string, icon: string, title: string) => JSX.Element; setAlign: (e: any, align: string) => void; setAlignJustify: (e: any) => void; renderAlign: (control: CustomControl) => JSX.Element; renderControls: () => any; render(): JSX.Element; } export default ToolBar;