import { QueryNode } from './base'; /** * A node that evaluates to the value of a variable. * * Use in a VariableAssignmentQueryNode or in a TransformListQueryNode to assign a value */ export declare class VariableQueryNode extends QueryNode { readonly label?: string | undefined; constructor(label?: string | undefined); readonly index: number; equals(other: this): boolean; toString(): string; describe(): string; } /** * A node that sets the value of a variable to the result of a node and evaluates to a second node * * LET $variableNode = $variableValueNode RETURN $resultNode * * (function() { * let $variableNode = $variableValueNode * return $resultNode * })() */ export declare class VariableAssignmentQueryNode extends QueryNode { constructor(params: { variableValueNode: QueryNode; resultNode: QueryNode; variableNode: VariableQueryNode; }); static create(valueNode: QueryNode, resultNodeFn: (variableNode: QueryNode) => QueryNode, varLabel?: string): VariableAssignmentQueryNode; readonly variableValueNode: QueryNode; readonly resultNode: QueryNode; readonly variableNode: VariableQueryNode; describe(): string; }