import type { ValidationErrors } from './validate-eponyme-data.js'; /** `hero` + `title` -> `hero.title`; array items use their index as a segment. */ export declare function joinFieldPath(prefix: string, segment: string | number): string; /** Stable DOM id for a field path, usable in `for`/`aria-*` attributes. */ export declare function fieldPathId(path: string): string; /** Messages recorded for this exact path. */ export declare function errorsAt(errors: ValidationErrors | undefined, path: string): string[]; /** * Errors of everything nested under `path`, re-keyed relative to it, so a container can hand its children * exactly what concerns them without knowing its own depth. */ export declare function childErrors(errors: ValidationErrors | undefined, path: string): ValidationErrors; /** True when this path, or anything under it, has at least one message. */ export declare function hasErrorsUnder(errors: ValidationErrors | undefined, path: string): boolean;