import { TypeUnion } from '../reflection/type.js'; import type { TypeHandler } from './registry.js'; import type { JsonBuildContext } from './state.js'; /** * Main union handler that selects the appropriate strategy. */ export declare const handleUnion: TypeHandler; /** * Register union handler on a serializer. */ export declare function registerUnionHandler(serializer: { serializeRegistry: any; deserializeRegistry: any; }): void;