import type { LixEngine } from "../engine/boot.js"; import type { LixSchemaDefinition } from "../schema-definition/definition.js"; /** * Loads the most recent stored schema definition for the exact key provided. * * The lookup targets the `global` version only and does not apply any prefixing * or aliasing to `key`. Results are cached per-engine and invalidated on state * commits that modify stored schemas. Returns `null` if the schema cannot be * found. * * @example * ```ts * const schema = getStoredSchema({ engine, key: "lix_change_set" }); * console.log(schema?.["x-lix-version"]); * ``` */ export declare function getStoredSchema(args: { engine: Pick; key: string; }): LixSchemaDefinition | null; export declare function getAllStoredSchemas(args: { engine: Pick; }): { definitions: Map; signature: string; }; //# sourceMappingURL=get-stored-schema.d.ts.map