import { Graph } from '../Graph/Graph.js'; import { Node, NodeWithMeta } from './Node.js'; export type NodeMatchFn = (nodeName: string, node: NodeType, graph: Graph) => ReturnType; export type NodeMatcher = NodeMatchFn; export declare class Matcher { static node: { labelStartsWith: (startsWith: string[]) => NodeMatchFn; resourceEquals: (values: string[]) => NodeMatcher; nodeNameEquals: (values: string[]) => NodeMatcher; resourceOrNodeNameEquals: (values: string[]) => NodeMatcher; }; static edge: { fromTo: (matchers: { from: NodeMatchFn; to: NodeMatchFn; }[]) => NodeMatchFn; }; }