import { Component } from "react";
import { SidebarItem } from "../../CommonUI/BuilderUI/Sidebar";
import { IntersectionRuleEditContext } from "@appglue/common/dist/Rule/Intersection/IntersectionRuleEditContext";
import { IntersectionRuleConfiguration } from "@appglue/common/dist/Rule/Intersection/IntersectionRuleConfiguration";
import { UnitTestConfiguration } from "@appglue/common/dist/Common/UnitTesting/UnitTestConfiguration";
export interface IIntersectionRuleEditor {
    ruleDefinition: IntersectionRuleConfiguration;
    intersectionRuleName?: string;
    onIntersectionRuleNameUpdate?: (newName: string) => void;
    onRuleSave?: () => void;
    onRuleCancel?: () => void;
    saveUnitTest?: (unitTest: UnitTestConfiguration) => void;
    getUnitTests?: () => Promise<UnitTestConfiguration[]>;
}
export declare class IntersectionRuleBuilder extends Component<IIntersectionRuleEditor, any> {
    editContext: IntersectionRuleEditContext;
    tabs: SidebarItem[];
    ruleDefinition: IntersectionRuleConfiguration;
    constructor(props: IIntersectionRuleEditor);
    onChangeRuleName(newName: string): void;
    getDefaultTabs(): SidebarItem[];
    render(): JSX.Element;
}
