import type { TSchema } from '../schema/index.mjs'; import type { Static } from '../static/index.mjs'; import { Kind } from '../symbols/index.mjs'; type UnionStatic = { [K in keyof T]: T[K] extends TSchema ? Static : never; }[number]; export interface TUnion extends TSchema { [Kind]: 'Union'; static: UnionStatic; anyOf: T; } export {};