import { JSONPath, JSONPathCommonMethods } from './JSONPath.js'; export declare class ValuePath extends JSONPath implements JSONPathCommonMethods { #private; static readonly name = "ValuePath"; static empty(): ValuePath; /** * By passing a string to the constructor, **nothing will be validated** * **So only do it if you know what you're doing** */ constructor(path: Array, string?: string); /** * Returns true if the path is empty = mode level of token value */ get isModeLevel(): boolean; /** * Mutates the current path * @param path */ update(path: Array): this; /** * Mutates the current path * @param item */ prepend(item: string | number): this; /** * Mutates the current path * @param item */ append(item: string | number): this; /** * Mutates the current path * @param i * @param replacer */ replaceAt(i: number, replacer: string | number): this; /** * Mutates the current path * @param until */ removeLeft(until: number): this; /** * Mutates the current path * @param until */ removeRight(until: number): this; /** * Creates a copy */ clone(): ValuePath; /** * Creates a copy * @param otherTreePath */ merge(otherTreePath: ValuePath): ValuePath; /** * Creates a copy */ makeParentPath(): ValuePath; /** * Creates a copy * @param from * @param to */ slice(from: number, to: number): ValuePath; }