import { NodeDefinition, NodeLike } from '../types/graph'; export interface RootAndPath { root: NodeDefinition; path: Array; } export declare function isRootAndPath(value: any): value is RootAndPath; export declare function ref(rootAndPath: RootAndPath): NodeDefinition; export declare function ref(path: Array): NodeDefinition; export declare function ref(...path: Array): NodeDefinition;