import React, { Component } from "react";
import { SidebarItem } from "../BuildUI/Sidebar";
import { XTextMergeDefinition } from "./XTextMergeDefinition";
import { XTextMergeEditContext } from "./XTextMergeEditContext";
import { RawDraftContentState } from "draft-js";
export interface ITextMergeBuilder {
    value?: string | RawDraftContentState;
    title?: string;
    onSave?: () => void;
    onCancel?: () => void;
    definition: XTextMergeDefinition;
    onChange?: (newValue: RawDraftContentState) => void;
}
export declare class XTextMergeBuilder extends Component<ITextMergeBuilder, any> {
    tabs: SidebarItem[];
    editContext: XTextMergeEditContext;
    constructor(props: ITextMergeBuilder);
    getDefaultTabs(): SidebarItem[];
    onChangeTitle(event: React.ChangeEvent<HTMLInputElement>): void;
    render(): JSX.Element;
}
