import type { RPath } from "../../core/index.js"; import { type FieldPath, type FieldPseudoElement, type Id } from "../id.js"; import type { FormState } from "./state.js"; /** * @query */ export declare function getId(ctx: FormState, path: FieldPath): Id; /** * WARN: This method will not react to changes in the subtree. * @query */ export declare function getSubtreePaths(ctx: FormState, path: FieldPath): Generator; /** * @query */ export declare function getChildPath(ctx: FormState, parentPath: FieldPath, indexOrProperty: string | number): FieldPath; /** * @query */ export declare function getPseudoPath(ctx: FormState, parentPath: FieldPath, element: FieldPseudoElement): FieldPath; /** * @query */ export declare function getPseudoId(ctx: FormState, path: FieldPath, element: FieldPseudoElement): Id; /** * @query */ export declare function getIdByPath(ctx: FormState, path: RPath): Id; /** * @query */ export declare function getPseudoIdByPath(ctx: FormState, path: RPath, element: FieldPseudoElement): Id;