import { DspGraph } from './types'; export declare const addNode: (graph: DspGraph.Graph, node: DspGraph.Node) => DspGraph.Node; export declare const connect: (graph: DspGraph.Graph, source: DspGraph.ConnectionEndpoint, sink: DspGraph.ConnectionEndpoint) => void; /** If it exists, remove single connection from `sourceNodeId` to `sinkNodeId`. */ export declare const disconnect: (graph: DspGraph.Graph, source: DspGraph.ConnectionEndpoint, sink: DspGraph.ConnectionEndpoint) => void; /** Remove all existing connections from `sourceNodeId` to `sinkNodeId`. */ export declare const disconnectNodes: (graph: DspGraph.Graph, sourceNodeId: DspGraph.NodeId, sinkNodeId: DspGraph.NodeId) => void; /** Delete node from the graph, also cleaning all the connections from and to other nodes. */ export declare const deleteNode: (graph: DspGraph.Graph, nodeId: DspGraph.NodeId) => void;