import * as d3 from "d3"; export interface MarkmapIncProps { svg: d3.Selection; container: d3.Selection; linkGroup: d3.Selection; nodeGroup: d3.Selection; } export interface ItemProps { name: string; children?: ItemProps[]; height?: number; color?: string; bgColor?: string; isSelect?: boolean; } export interface PosMapProps { _id: string; x: number; y?: number; pId?: string; name: string; height: number; width: number; level: number; hasChildren: boolean; childHeight?: number; minY?: number; data?: ItemProps; } export interface OptionProps { baseColor?: string; baseBgColor?: string; } export declare const init: (svgNode: SVGSVGElement) => MarkmapIncProps; export declare const drawGrid: (inc: MarkmapIncProps, data: ItemProps, height: number, clickTextNode?: ((event: any, d: PosMapProps) => void) | undefined, selectItem?: PosMapProps, options?: OptionProps) => void;