import { GramGraphData, GramLinkDatum, GramNodeDatum, PathDatumRecord } from './d3-gram-types'; import { GramEdge, GramNode, GramPath } from '@gram-data/gram-ast'; /** * Parses text as [gram](https://github.com/gram-data/gram-js), * returning a graph representated nodes, links and paths. * * @param src */ export declare const parse: (src: string) => GramGraphData; export declare const dataFromPath: (p: GramPath) => PathDatumRecord; export declare const nodeToD3: (node: GramNode) => GramNodeDatum; export declare const edgeToD3: (edge: GramEdge) => GramLinkDatum;