/// <reference types="node" />
import { EventEmitter } from "events";
import { Store } from "./Store/Store";
import { View } from "./View/View";
import { ConfigInput } from "./Config";
import { TextSelectionHandler } from "./View/EventHandler/TextSelectionHandler";
import { TwoLabelsClickedHandler } from "./View/EventHandler/TwoLabelsClickedHandler";
import { IAction } from "./Action/IAction";
export declare class Annotator extends EventEmitter {
    private containerElement;
    readonly configInput?: ConfigInput | undefined;
    readonly store: Store;
    readonly view: View;
    readonly textSelectionHandler: TextSelectionHandler;
    readonly twoLabelsClickedHandler: TwoLabelsClickedHandler;
    constructor(data: string | object, containerElement: HTMLElement, configInput?: ConfigInput | undefined);
    applyAction(action: IAction): void;
    export(): string;
    remove(): void;
}
