import type { ParseContext, SchemaNode } from "../types.js"; import { BaseSchema } from "./base.js"; /** Convert a union of types to an intersection. */ type UnionToIntersection = (U extends any ? (x: U) => void : never) extends (x: infer I) => void ? I : never; /** Flatten an intersection into a clean single-level type. */ type Prettify = { [K in keyof T]: T[K]; } & {}; export declare class IntersectionSchema[] = BaseSchema[]> extends BaseSchema>> { private _schemas; constructor(schemas: [...T]); _validate(input: unknown, ctx: ParseContext): unknown; _children(): BaseSchema[]; _toNode(): SchemaNode; } export {}; //# sourceMappingURL=intersection.d.ts.map