import type { LixEngine } from "../../engine/boot.js";
import type { LixSchemaDefinition } from "../../schema-definition/definition.js";
/**
 * Resolves a cache schema definition from stored state or built-in fallbacks.
 *
 * @example
 *
 * ```ts
 * const definition = resolveCacheSchemaDefinition({ engine, schemaKey: "lix_commit" });
 * if (definition) {
 *   console.log(definition["x-lix-version"]);
 * }
 * ```
 */
export declare function resolveCacheSchemaDefinition(args: {
    engine: Pick<LixEngine, "executeSync" | "runtimeCacheRef" | "hooks">;
    schemaKey: string;
}): LixSchemaDefinition | null;
/**
 * Lists all cache schema definitions currently available to the engine.
 *
 * @example
 *
 * ```ts
 * const schemas = listAvailableCacheSchemas({ engine });
 * for (const [key] of schemas.entries()) {
 *   console.log(key);
 * }
 * ```
 */
export declare function listAvailableCacheSchemas(args: {
    engine: Pick<LixEngine, "executeSync" | "runtimeCacheRef" | "hooks">;
}): Map<string, LixSchemaDefinition>;
//# sourceMappingURL=schema-resolver.d.ts.map