import type { State } from '../types.js'; export declare function getPrefix(path: string): string; export declare function getProp(path: string): string; export declare function getPrefixAndProp(path: string): [string, string]; export declare function getPropAfter(path: string, index: number): string; export declare function isArrayPath(path: string, state?: State): boolean; export declare function getArrayPrefixAndIndex(state: State, path: string, pathLength?: number): [string, number]; export declare function getArrayIndex(state: State, path: string, pathLength?: number): number; export declare function getIndexAndEnd(state: State, path: string | undefined, maxLength: number): number[];