import * as d3 from 'd3'; import { BaseType } from 'd3-selection'; import { GramNodeDatum, GramLinkDatum, GramGraphData } from './d3-gram-types'; export declare const updateLinks: (links: any) => void; export declare const updateNodes: (nodes: any) => void; interface D3GramDrawConfiguration { shapeRadius: number; } /** * * @param graph gram source text * @param selector dom selector for an svg element * @param D3GramDrawConfiguration */ export declare const draw: (graph: GramGraphData, selector: string | BaseType, configuration?: Partial) => { nodeSelection: d3.Selection; linkSelection: d3.Selection; }; export {};