/**
 * Validates that a schema conforms to the LixSchemaDefinition format
 * and then validates data against that schema.
 *
 * @param schema - The Lix schema definition to validate against
 * @param data - The data to validate
 * @returns true if both the schema and data are valid
 * @throws Error with validation details if either validation fails
 *
 * @example
 * ```typescript
 * const userSchema = {
 *   "x-lix-key": "user",
 *   "x-lix-version": "1.0",
 *   type: "object",
 *   properties: {
 *     id: { type: "string" },
 *     name: { type: "string" },
 *     age: { type: "number" }
 *   },
 *   required: ["id", "name"]
 * } as const satisfies LixSchemaDefinition;
 *
 * const userData = {
 *   id: "123",
 *   name: "John Doe",
 *   age: 30
 * };
 *
 * try {
 *   validateLixSchema(userSchema, userData); // returns true
 * } catch (error) {
 *   console.error("Validation failed:", error);
 * }
 * ```
 */
export declare function validateLixSchema(schema: unknown, data: unknown): boolean;
/**
 * Validates only the Lix schema definition format.
 * Use this when you only need to check if a schema is valid.
 *
 * @param schema - The schema to validate
 * @returns true if the schema is valid
 * @throws Error with validation details if validation fails
 *
 * @example
 * ```typescript
 * const schema = {
 *   "x-lix-key": "product",
 *   "x-lix-version": "1.0",
 *   type: "object",
 *   properties: {
 *     id: { type: "string" }
 *   }
 * };
 *
 * try {
 *   validateLixSchemaDefinition(schema); // returns true
 * } catch (error) {
 *   console.error("Invalid schema:", error);
 * }
 * ```
 */
export declare function validateLixSchemaDefinition(schema: unknown): boolean;
//# sourceMappingURL=validate-lix-schema.d.ts.map