import React, { Component } from "react";
import { SidebarItem } from "../../CommonUI/BuildUI/Sidebar";
import { TreeRuleDefinition } from "./Structure/TreeRuleDefinition";
import { TreeRuleEditContext } from "./TreeRuleEditContext";
export interface ITreeRuleEditor {
    ruleDefinition: TreeRuleDefinition;
    title?: string;
    onRuleSave?: () => void;
    onRuleCancel?: () => void;
}
export declare class XTreeRuleEditor extends Component<ITreeRuleEditor, any> {
    editContext: TreeRuleEditContext;
    tabs: SidebarItem[];
    ruleDefinition: TreeRuleDefinition;
    constructor(props: ITreeRuleEditor);
    onChangeRuleTitle(event: React.ChangeEvent<HTMLInputElement>): void;
    getDefaultTabs(): SidebarItem[];
    render(): JSX.Element;
}
