import { IHtmlCommand } from "./HtmlCommands";
export interface ICommandButton {
icon?: string;
label?: string;
/**
* On click, you must return a promise of string or a string that will be inserted
*/
eventInsertHtml?: any;
/**
* Default is insertHTML but you can change it.
*/
insertCommand: IHtmlCommand;
/**
* Tooltip
*/
title?: string;
/**
* setup if command is disabled or not
*/
disabled?: boolean;
}
export declare function notSet(text: string): () => void;
export default function CommandButton({ icon, label, eventInsertHtml, insertCommand, title, disabled }: ICommandButton): any;
//# sourceMappingURL=CommandButton.d.ts.map