import type { Primitives, SomeSchema } from '../types'; export declare const oneOf: | Primitives)[]>(validatorsOrLiterals: readonly [...U]) => >(schema?: S | undefined) => SomeSchema ? import("../types").Pretty : U[Index]; }[number] ? false : { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] extends never ? false : readonly unknown[] extends { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] ? false : true, { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number], never>> | import("../types").Pretty ? import("../types").Pretty : U[Index]; }[number] ? false : { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] extends never ? false : {} extends { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] ? true : true, S["__type"] extends readonly (infer TypeOfSchemaElement)[] ? { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] extends readonly [...infer _] ? { readonly [Index_1 in keyof { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number]]: TypeOfSchemaElement; } : { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] : { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number], never>> | import("../types").Pretty ? import("../types").Pretty : U[Index]; }[number] ? false : { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] extends never ? false : readonly unknown[] extends { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] ? false : true, S["__type"], never>> | import("../types").Pretty ? import("../types").Pretty : U[Index]; }[number] ? false : { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] extends never ? false : readonly unknown[] extends { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] ? false : true) | (unknown extends { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] ? false : { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] extends never ? false : {} extends { readonly [Index in keyof U]: U[Index] extends SomeSchema ? import("../types").Pretty : U[Index]; }[number] ? true : true), S["__type"], never>>>; //# sourceMappingURL=oneOf.d.ts.map