import { EventEmitter } from '@angular/core';
import { CommandExecutorService } from '../common/services/command-executor.service';
import { MessageService } from '../common/services/message.service';
import { MatDialog } from '@angular/material/dialog';
import { ToolbarConfig } from '../iget-editor-config';
import * as i0 from "@angular/core";
export declare class IgetEditorToolbarComponent {
    private _messageService;
    private _commandExecutorService;
    private dialog;
    /** font family name */
    fontName: string;
    /** font size */
    fontSize: string;
    /**
     * Editor configuration
     */
    config: ToolbarConfig;
    /**
     * Emits an event when a toolbar button is clicked
     */
    execute: EventEmitter<string>;
    colors: string[];
    constructor(_messageService: MessageService, _commandExecutorService: CommandExecutorService, dialog: MatDialog);
    /**
     * enable or diable toolbar based on configuration
     *
     * @param value name of the toolbar buttons
     */
    canEnableToolbarOptions(value: any): boolean;
    /**
     * triggers command from the toolbar to be executed and emits an event
     *
     * @param command name of the command to be executed
     */
    triggerCommand(command: string): void;
    /**
     * inserts link in the editor
     */
    insertLink(): void;
    /** insert text/background color */
    setTextColor(color: string): void;
    /** insert text/background color */
    setBackgroundColor(color: string): void;
    /** insert text/background color */
    insertColor(color: string, where: string): void;
    /** set font size */
    setFontSize(fontSize: string): void;
    /** set font Name/family */
    setFontName(fontName: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<IgetEditorToolbarComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<IgetEditorToolbarComponent, "iget-editor-toolbar", never, { "config": "config"; }, { "execute": "execute"; }, never, never>;
}
