import { Icon, SVGWidget, Text } from "@hpcc-js/common";
import "d3-transition";
import "./Subgraph.css";
export type SubgraphMinState = "normal" | "partial";
export declare class Subgraph extends SVGWidget {
    protected _border: any;
    protected _textWidget: Text;
    protected _buttonMin: Icon;
    protected _minState: SubgraphMinState;
    constructor();
    minState(): SubgraphMinState;
    minState(_: SubgraphMinState): this;
    calcIcon(): "" | "";
    getBBox(refresh?: boolean, round?: boolean): {
        x: number;
        y: number;
        width: number;
        height: number;
    };
    enter(domNode: any, element: any): void;
    update(domNode: any, element: any): void;
    exit(domNode: any, element: any): void;
    intersection(pointA: any, pointB: any): any;
    click(d: any): void;
    minClick(): void;
}
export interface Subgraph {
    border_colorStroke(): string;
    border_colorStroke(_: string): this;
    border_colorFill(): string;
    border_colorFill(_: string): this;
    border_colorFill_exists: () => boolean;
    showTitle(): boolean;
    showTitle(_: boolean): this;
    title(): string;
    title(_: string): this;
    titleFontSize(): string;
    titleFontSize(_: string): this;
    title_colorFill(): string;
    title_colorFill(_: string): this;
    title_colorFill_exists: () => boolean;
    showMinMax(): boolean;
    showMinMax(_: boolean): this;
}
