import type { Variable } from "../../references/Variable"; import type { CypherCompilable, Expr } from "../../types"; import { MapExpr } from "./MapExpr"; /** Represents a Map projection * @see {@link https://neo4j.com/docs/cypher-manual/current/syntax/maps/#cypher-map-projection | Cypher Documentation} * @group Maps * @example * ```cypher * this { .title } * ``` */ export declare class MapProjection implements CypherCompilable { private readonly extraValues; private readonly variable; private readonly projection; private readonly isStar; constructor(variable: Variable, projection?: "*" | string[], extraValues?: Record); set(values: Record | string): void; /** Converts the Map projection expression into a normal Map expression * @example * Converts * ```cypher * this { .title } * ``` * into: * ```cypher * { title: this.title } * ``` */ toMap(): MapExpr; private setExtraValues; }