import type { PothosUnionTypeConfig, SchemaTypes } from '../types'; import { type ObjectParam, type OutputRef, outputShapeKey, parentShapeKey } from '../types/type-params'; import { BaseTypeRef } from './base'; export declare class UnionRef extends BaseTypeRef implements OutputRef, PothosSchemaTypes.UnionRef { kind: "Union"; $inferType: T; [outputShapeKey]: T; [parentShapeKey]: P; private types; constructor(name: string, config?: PothosUnionTypeConfig); addTypes(types: ObjectParam[] | (() => ObjectParam[])): void; prepareForBuild(): void; } //# sourceMappingURL=union.d.ts.map