import { type Schema, type SchemaDefinition, type SchemaValue } from "./schema.js"; import type { Validator } from "./validator.js"; import type { Merger } from "./merger.js"; export type Path = Array; export type RPath = Readonly; export declare function pathFromRef(ref: string): Path; export declare function pathFromLocation(location: string, data: unknown): Path; export declare function getSchemaDefinitionByPath(validator: Validator, merger: Merger, rootSchema: Schema, schema: SchemaDefinition | undefined, path: RPath, value: SchemaValue | undefined): SchemaDefinition | undefined;