import { PathSegment } from './types'; import { UnknownReferenceError } from '../reference-resolver/errors'; export { UnknownReferenceError }; /** * Base class for all path accessor errors */ export declare class PathAccessorError extends Error { constructor(message: string); } /** * Error thrown when a path syntax is invalid */ export declare class PathSyntaxError extends PathAccessorError { readonly path: string; readonly position?: number | undefined; constructor(message: string, path: string, position?: number | undefined); } /** * Error thrown when a property access fails */ export declare class PropertyAccessError extends PathAccessorError { readonly path: string; readonly segment: PathSegment; readonly target: any; constructor(message: string, path: string, segment: PathSegment, target: any); } /** * Error thrown when a path is empty or invalid */ export declare class InvalidPathError extends PathAccessorError { readonly path: string; constructor(message: string, path: string); }