/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
export declare const typescriptDeclarationFixConstant = 1;
import { UiEvent } from "./UiEvent";
import { TeamAppsEvent } from "../modules/util/TeamAppsEvent";
import { UiComponentConfig } from "./UiComponentConfig";
import { UiTreeGraphNodeConfig } from "./UiTreeGraphNodeConfig";
import { UiColorConfig } from "./UiColorConfig";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiTreeGraphConfig extends UiComponentConfig {
    _type?: string;
    nodes: UiTreeGraphNodeConfig[];
    backgroundColor?: UiColorConfig;
    zoomFactor?: number;
}
export interface UiTreeGraphCommandHandler extends UiComponentCommandHandler {
    setZoomFactor(zoomFactor: number): void;
    setNodes(nodes: UiTreeGraphNodeConfig[]): void;
    addNode(node: UiTreeGraphNodeConfig): void;
    removeNode(nodeId: string): void;
    setNodeExpanded(nodeId: string, expanded: boolean): void;
}
export interface UiTreeGraphEventSource {
    onNodeClicked: TeamAppsEvent<UiTreeGraph_NodeClickedEvent>;
    onNodeExpandedOrCollapsed: TeamAppsEvent<UiTreeGraph_NodeExpandedOrCollapsedEvent>;
}
export interface UiTreeGraph_NodeClickedEvent extends UiEvent {
    nodeId: string;
}
export interface UiTreeGraph_NodeExpandedOrCollapsedEvent extends UiEvent {
    nodeId: string;
    expanded: boolean;
}
