/** * Schema reference parsing and cache lookup. * * Current support: * - bare schema SAID * - `sad:{said}` references * - HTTP(S) OOBI URLs that must be resolved by `Oobiery` * * DID URL dereferencing is intentionally represented but not implemented yet. */ import type { Schemer } from "../core/scheming.js"; import type { Habery } from "./habbing.js"; export type SchemaReference = { kind: "bare"; said: string; } | { kind: "sad"; said: string; } | { kind: "oobi"; url: string; said?: string; } | { kind: "did"; url: string; }; /** Parse one schema reference into the supported resolver contract. */ export declare function parseSchemaReference(reference: string): SchemaReference; /** Resolve a schema reference only from the local schema cache. */ export declare function resolveCachedSchema(hby: Habery, reference: string): Schemer | null; //# sourceMappingURL=schema-resolving.d.ts.map