import { IContext } from "../../Common/IContext";
import { IColorElemContext, IColorPickerDialog } from "../../CommonUI/BuildUI/ColorPicker";
import { DialogProps } from "../../CommonUI/BuildUI/Notification";
import { IDesignPanelConfig } from "../../Form/FormDesignConstants";
import { RuleBuilderPage } from "../DesignUI/RuleBuilderPage";
import { TreeRuleDefinition } from "./Structure/TreeRuleDefinition";
import { TreeRuleNode } from "./Structure/TreeRuleNode";
export declare class TreeRuleEditContext implements IContext, IColorElemContext {
    designConfig?: IDesignPanelConfig | undefined;
    runtimeConfig?: IDesignPanelConfig | undefined;
    clipboardElement: any;
    lastSelectionElement: any;
    mode: RuleBuilderPage;
    definition: TreeRuleDefinition;
    title?: string;
    constructor(definition: TreeRuleDefinition);
    onRuleSave?: () => void;
    onRuleCancel?: () => void;
    onCopy(id?: string): void;
    onCut(id?: string): void;
    onDelete(id?: string): void;
    onPaste(id?: string): void;
    _notification: DialogProps | undefined;
    set notification(notification: DialogProps | undefined);
    get notification(): DialogProps | undefined;
    private _selected;
    set selected(node: TreeRuleNode | undefined);
    get selected(): TreeRuleNode | undefined;
    private _selectedForColor;
    get selectedForColor(): IColorPickerDialog | undefined;
    set selectedForColor(sel: IColorPickerDialog | undefined);
    setSelectedForColor(sequence: TreeRuleNode, element: HTMLElement): void;
}
