import type { GetRefFn, NormalizeFn, SchemaOrReference, SchemaObject, MergeSystem } from './types.js'; type MergeUnionArgs = { schema: SchemaObject; getRef: GetRefFn; normalize: NormalizeFn; system: MergeSystem; groupType: 'oneOf' | 'anyOf'; }; export declare const mergeUnion: ({ schema, getRef, normalize, system, groupType }: MergeUnionArgs) => SchemaOrReference; type MergeCrossProductArgs = { first: SchemaObject; second: SchemaObject; getRef: GetRefFn; normalize: NormalizeFn; system: MergeSystem; groupType: 'oneOf' | 'anyOf'; }; /** * The `system` a member's own `allOf` merges under: the `client.json` * setting, also in the first pass over a cross product's pairs. */ export declare const toOwnSystem: (system: MergeSystem) => MergeSystem; export declare const mergeCrossProduct: ({ first, second, getRef, normalize, system, groupType }: MergeCrossProductArgs) => SchemaObject; /** * A `oneOf`/`anyOf` whose every member is null-only (for example * `oneOf: [{ type: 'null' }]`) reads as nullable with no other type, not * as an empty union: the group is replaced by `nullable: true`. Any other * schema is returned unchanged. */ export declare const collapseNullOnlyUnion: (schema: SchemaObject, normalize: NormalizeFn) => SchemaObject; export {};