/** * Diagram builder — org. */ import type { App } from '../../App'; import type { Group } from '../../shapes/Group'; import type { Node } from '../../Node'; import type { NodeOptions } from '../../types'; import type { OrgChartNode } from '../types'; /** Create org chart with optional collapse */ export declare function createOrgChart(app: App, root: OrgChartNode, options?: NodeOptions): Group; /** Wire click handlers on minimize/expand buttons. */ export declare function wireOrgCollapseControls(app: App, root: Group): void; /** Toggle org chart branch collapse — hide/show children, relayout, rewire. */ export declare function toggleOrgCollapse(node: Node): void;