/**
 * 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 { UiNetworkNodeConfig } from "./UiNetworkNodeConfig";
import { UiNetworkLinkConfig } from "./UiNetworkLinkConfig";
import { UiNetworkImageConfig } from "./UiNetworkImageConfig";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiNetworkGraphConfig extends UiComponentConfig {
    _type?: string;
    nodes: UiNetworkNodeConfig[];
    links: UiNetworkLinkConfig[];
    images: UiNetworkImageConfig[];
    gravity?: number;
    theta?: number;
    alpha?: number;
    charge?: number;
    distance?: number;
    highlightColor?: string;
    animationDuration?: number;
}
export interface UiNetworkGraphCommandHandler extends UiComponentCommandHandler {
    setZoomFactor(zoomFactor: number): void;
    setGravity(gravity: number): void;
    setCharge(charge: number, overrideNodeCharge: boolean): void;
    setDistance(distance: number, overrideLinkDistance: boolean): void;
    zoomAllNodesIntoView(animationDuration: number): void;
    addNodesAndLinks(nodes: UiNetworkNodeConfig[], links: UiNetworkLinkConfig[]): void;
    removeNodesAndLinks(nodeIds: string[], linksBySourceNodeId: {
        [name: string]: string[];
    }): void;
}
export interface UiNetworkGraphEventSource {
    onNodeClicked: TeamAppsEvent<UiNetworkGraph_NodeClickedEvent>;
    onNodeExpandedOrCollapsed: TeamAppsEvent<UiNetworkGraph_NodeExpandedOrCollapsedEvent>;
}
export interface UiNetworkGraph_NodeClickedEvent extends UiEvent {
    nodeId: string;
}
export interface UiNetworkGraph_NodeExpandedOrCollapsedEvent extends UiEvent {
    nodeId: string;
    expanded: boolean;
}
