import { type JsonObject } from './json.js'; export interface SchemaSnapshot { schema: JsonObject; /** Where it came from; null for an inline schema. `path` is relative to the real project root. */ source: { path: string; bytes: number; sha256: string; } | null; } /** Loads `ref` (a path under `projectRoot`), checks it against the dialect and returns the snapshot. */ export declare function loadSchemaRef(projectRoot: string, ref: unknown): SchemaSnapshot; /** An inline schema (checked against the dialect) or a `{ "$ref": "path.json" }` file load. */ export declare function resolveSchemaSource(input: unknown, projectRoot: string): SchemaSnapshot; //# sourceMappingURL=schema-ref.d.ts.map