import { Type } from './type'; import { OutputOf, InputOf, FromFn, From } from './from'; declare type Any = FromFn | From; /** * Take one of the types. Merge the metadata from left to right. * If nothing matches, prints all the errors. */ export declare function union>>(ts: [T1, ...T2s[]], { combineErrors, }?: { /** * Combine all the errors produced by the types. * Defaults to joining them with a newline. */ combineErrors?(errors: string[]): string; }): Type, OutputOf>; export {};