import { ToolBarItem } from "./toolbar-item";
import { InjectionToken } from "@angular/core";

export declare const TOOLBARITEMS_TOKEN: InjectionToken<string>;

/**
 * A provider used for retrieving tool bar items.
 * @deprecated please use EditorConfigProvider
 */
export interface ToolBarItemsProvider {
    /**
     * Returns an array of tool bar items.
     * @param editorHost The element containing the html editor.
     * Example how to get the editor: editorHost.getKendoEditor();
     */
    getToolBarItems(editorHost: any): ToolBarItem[];

    /**
     * Returns an array of item's names to be removed from the toolbar.
     */
    getToolBarItemsNamesToRemove(): string[];
}
