import {FormControl} from "./FormControl";
import {MultiSelectDefaultProps, MultiSelectProps} from "./MultiSelect";

type TreeFilterControlProps = {
    maxDepth?: number;
    tree: object;
} & MultiSelectProps & Partial<TreeFilterControlDefaultProps>;

type TreeFilterControlDefaultProps = {
    block: boolean;
    testAutomationId: string;
} & MultiSelectDefaultProps;

export class TreeFilterControl extends FormControl<TreeFilterControlProps> {
    // not implemented actually. used to suppress TS error
    getValue(): any;
}