import type { HsonNode } from "../../core/types.js"; import type { HsonSchemaIssue } from "../../api/livemap/livemap.error.js"; import type { DocumentLiveMapMode, LivePath } from "../../types/livemap.types.js"; import type { HsonAttributeSourceRole, HsonNodeSourceRole, HsonSourcePath, HsonSourceProvenance, HsonSourceRange } from "../hson-source-provenance/hson-source-provenance.js"; type DocumentSchemaSourceRole = HsonNodeSourceRole | HsonAttributeSourceRole; export type DocumentSchemaSourceResolution = Readonly<{ kind: "exact"; range: HsonSourceRange; issuePath: LivePath; physicalPath: HsonSourcePath; role: DocumentSchemaSourceRole; attributeName?: string; }> | Readonly<{ kind: "anchor"; range: HsonSourceRange; issuePath: LivePath; parentPath: LivePath; physicalPath: HsonSourcePath; role: HsonNodeSourceRole; }> | Readonly<{ kind: "unresolved"; issuePath: LivePath; }>; type DocumentSchemaSourceIssue = Pick; /** * Lower one document-Schema issue through the canonical logical document * resolver and onto immutable authored-Hson provenance. */ export declare function resolve_document_schema_issue_source(root: HsonNode, mode: DocumentLiveMapMode, provenance: HsonSourceProvenance, issue: DocumentSchemaSourceIssue): DocumentSchemaSourceResolution; export {}; //# sourceMappingURL=document-schema-source-lowering.d.ts.map