import { JsonSchema } from '@jsonforms/core'; interface AjvLike { validate(schema: object | boolean, data: unknown): boolean; } /** * Resolves a JSON Schema's `allOf` / `if`/`then`/`else` conditionals against the given data, producing a * combinator-free schema whose `properties` reflect the active branches, recursing into nested object * properties (each evaluated against its own data slice). * * At each object node, `allOf` entries carrying an `if` are evaluated with the validator (their `then` or * `else` fragment merged in), plain `allOf` entries are merged unconditionally, and a node-level * `if`/`then`/`else` is applied the same way. Branch fragments override the base per property key, merging * recursively into nested `properties` (so narrowing a nested field keeps its siblings) and unioning * `required` at each level. Array items are not descended into. A node with no conditional and no resolvable * children is returned unchanged. * * @param schema - The JSON schema whose conditionals should be resolved. * @param data - The form data; a nested `if` evaluates against the matching nested data slice. * @param ajv - The validator used to evaluate each `if` fragment. * @returns The resolved, combinator-free schema. */ export declare function resolveConditionalSchema(schema: JsonSchema, data: unknown, ajv: AjvLike): JsonSchema; export {};