import type { Position } from '@pothos/selection-mapper'; import type { PathInfo } from '../types.js'; /** Records the position the field executing at `path` was planned at. */ export declare function setPlannedPosition(path: object, position: Position): void; /** The position the field executing for `info` was planned at, as its gate recorded it. */ export declare function plannedPosition(info: { path: object; }): Position | undefined; /** * The public `PathInfo` of a position: `path` as `Type.field` from the field the query was * planned for down to the field being planned, and one segment per step with the alias the * document used and whether the field is a list. * * The walker hands out positions, which are links rather than paths; this is the only place the * chain is walked, and it is walked only when a `query` callback or a `select` function actually * wants one. A field whose query is a plain object never builds either array. */ export declare function pathInfoFor(position: Position | undefined): PathInfo | undefined; //# sourceMappingURL=path-info.d.ts.map