import { Schema, symbol, type StrictOptions } from "../schema"; import type { Merge } from "../static"; import type { IUnionOptions } from "./union"; export type StaticUnionAllOf = T extends [ infer U, ...infer Rest ] ? U extends Schema ? Rest extends Schema[] ? Merge> : U[typeof symbol]["static"] : never : {}; export declare const allOf: (schemas: T, options?: StrictOptions) => Schema, StaticUnionAllOf> & O;