import { GraphInstance, TargetNode, UserNode } from './types/graph';
/**
 * given endpoints, backtrace until sources.
 * - make up some filterNodes (e.g. resample)
 * - tree shake and optimize the graph (todo...)
 * - convert to graphInstance (easy for further work)
 */
export declare function buildGraphInstance(target: TargetNode): [GraphInstance, Map<UserNode, string>];
