import { Component } from "react";
import { SidebarItem } from "../../../CommonUI/BuilderUI/Sidebar";
import { ValueTableConfiguration } from "@appglue/common/dist/Rule/Table/Value/ValueTableConfiguration";
import { ValueTableRuleEditContext } from "@appglue/common/dist/Rule/Table/Value/ValueTableRuleEditContext";
import { UnitTestConfiguration } from "@appglue/common/dist/Common/UnitTesting/UnitTestConfiguration";
export interface IValueTableRuleEditor {
    ruleDefinition: ValueTableConfiguration;
    valueTableName?: string;
    onValueTableNameUpdate?: (newName: string) => void;
    onRuleSave?: () => void;
    onRuleCancel?: () => void;
    saveUnitTest?: (unitTest: UnitTestConfiguration) => void;
    getUnitTests?: () => Promise<UnitTestConfiguration[]>;
}
export declare class ValueTableRuleBuilder extends Component<IValueTableRuleEditor, any> {
    tabs: SidebarItem[];
    ruleDefinition: ValueTableConfiguration;
    editContext: ValueTableRuleEditContext;
    constructor(props: IValueTableRuleEditor);
    onChangeRuleName(newName: string): void;
    getDefaultTabs(): SidebarItem[];
    render(): JSX.Element;
}
