import * as core from "jazz-tools-zod-v4-rn-patch/v4/core"; import { util } from "jazz-tools-zod-v4-rn-patch/v4/core"; export * as coerce from "./coerce.js"; export * as iso from "./iso.js"; type SomeType = core.$ZodType; export interface ZodMiniType extends core.$ZodType { check(...checks: (core.CheckFn | core.$ZodCheck)[]): this; clone(def?: this["_zod"]["def"], params?: { parent: boolean; }): this; register(registry: R, ...meta: this extends R["_schema"] ? undefined extends R["_meta"] ? [core.$ZodRegistry["_meta"]?] : [core.$ZodRegistry["_meta"]] : ["Incompatible schema"]): this; brand(value?: T): PropertyKey extends T ? this : this & Record<"_zod", Record<"~output", core.output & core.$brand>>; def: this["_zod"]["def"]; parse(data: unknown, params?: core.ParseContext): core.output; safeParse(data: unknown, params?: core.ParseContext): util.SafeParseResult>; parseAsync(data: unknown, params?: core.ParseContext): Promise>; safeParseAsync(data: unknown, params?: core.ParseContext): Promise>>; } export declare const ZodMiniType: core.$constructor; export interface ZodMiniString extends ZodMiniType { _zod: core.$ZodStringInternals; } export declare const ZodMiniString: core.$constructor; export declare function string(params?: string | core.$ZodStringParams): ZodMiniString; export interface ZodMiniStringFormat extends ZodMiniString { _zod: core.$ZodStringFormatInternals; } export declare const ZodMiniStringFormat: core.$constructor; export interface ZodMiniEmail extends ZodMiniStringFormat<"email"> { _zod: core.$ZodEmailInternals; } export declare const ZodMiniEmail: core.$constructor; export declare function email(params?: string | core.$ZodEmailParams): ZodMiniEmail; export interface ZodMiniGUID extends ZodMiniStringFormat<"guid"> { _zod: core.$ZodGUIDInternals; } export declare const ZodMiniGUID: core.$constructor; export declare function guid(params?: string | core.$ZodGUIDParams): ZodMiniGUID; export interface ZodMiniUUID extends ZodMiniStringFormat<"uuid"> { _zod: core.$ZodUUIDInternals; } export declare const ZodMiniUUID: core.$constructor; export declare function uuid(params?: string | core.$ZodUUIDParams): ZodMiniUUID; export declare function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodMiniUUID; export declare function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodMiniUUID; export declare function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodMiniUUID; export interface ZodMiniURL extends ZodMiniStringFormat<"url"> { _zod: core.$ZodURLInternals; } export declare const ZodMiniURL: core.$constructor; export declare function url(params?: string | core.$ZodURLParams): ZodMiniURL; export interface ZodMiniEmoji extends ZodMiniStringFormat<"emoji"> { _zod: core.$ZodEmojiInternals; } export declare const ZodMiniEmoji: core.$constructor; export declare function emoji(params?: string | core.$ZodEmojiParams): ZodMiniEmoji; export interface ZodMiniNanoID extends ZodMiniStringFormat<"nanoid"> { _zod: core.$ZodNanoIDInternals; } export declare const ZodMiniNanoID: core.$constructor; export declare function nanoid(params?: string | core.$ZodNanoIDParams): ZodMiniNanoID; export interface ZodMiniCUID extends ZodMiniStringFormat<"cuid"> { _zod: core.$ZodCUIDInternals; } export declare const ZodMiniCUID: core.$constructor; export declare function cuid(params?: string | core.$ZodCUIDParams): ZodMiniCUID; export interface ZodMiniCUID2 extends ZodMiniStringFormat<"cuid2"> { _zod: core.$ZodCUID2Internals; } export declare const ZodMiniCUID2: core.$constructor; export declare function cuid2(params?: string | core.$ZodCUID2Params): ZodMiniCUID2; export interface ZodMiniULID extends ZodMiniStringFormat<"ulid"> { _zod: core.$ZodULIDInternals; } export declare const ZodMiniULID: core.$constructor; export declare function ulid(params?: string | core.$ZodULIDParams): ZodMiniULID; export interface ZodMiniXID extends ZodMiniStringFormat<"xid"> { _zod: core.$ZodXIDInternals; } export declare const ZodMiniXID: core.$constructor; export declare function xid(params?: string | core.$ZodXIDParams): ZodMiniXID; export interface ZodMiniKSUID extends ZodMiniStringFormat<"ksuid"> { _zod: core.$ZodKSUIDInternals; } export declare const ZodMiniKSUID: core.$constructor; export declare function ksuid(params?: string | core.$ZodKSUIDParams): ZodMiniKSUID; export interface ZodMiniIPv4 extends ZodMiniStringFormat<"ipv4"> { _zod: core.$ZodIPv4Internals; } export declare const ZodMiniIPv4: core.$constructor; export declare function ipv4(params?: string | core.$ZodIPv4Params): ZodMiniIPv4; export interface ZodMiniIPv6 extends ZodMiniStringFormat<"ipv6"> { _zod: core.$ZodIPv6Internals; } export declare const ZodMiniIPv6: core.$constructor; export declare function ipv6(params?: string | core.$ZodIPv6Params): ZodMiniIPv6; export interface ZodMiniCIDRv4 extends ZodMiniStringFormat<"cidrv4"> { _zod: core.$ZodCIDRv4Internals; } export declare const ZodMiniCIDRv4: core.$constructor; export declare function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodMiniCIDRv4; export interface ZodMiniCIDRv6 extends ZodMiniStringFormat<"cidrv6"> { _zod: core.$ZodCIDRv6Internals; } export declare const ZodMiniCIDRv6: core.$constructor; export declare function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodMiniCIDRv6; export interface ZodMiniBase64 extends ZodMiniStringFormat<"base64"> { _zod: core.$ZodBase64Internals; } export declare const ZodMiniBase64: core.$constructor; export declare function base64(params?: string | core.$ZodBase64Params): ZodMiniBase64; export interface ZodMiniBase64URL extends ZodMiniStringFormat<"base64url"> { _zod: core.$ZodBase64URLInternals; } export declare const ZodMiniBase64URL: core.$constructor; export declare function base64url(params?: string | core.$ZodBase64URLParams): ZodMiniBase64URL; export interface ZodMiniE164 extends ZodMiniStringFormat<"e164"> { _zod: core.$ZodE164Internals; } export declare const ZodMiniE164: core.$constructor; export declare function e164(params?: string | core.$ZodE164Params): ZodMiniE164; export interface ZodMiniJWT extends ZodMiniStringFormat<"jwt"> { _zod: core.$ZodJWTInternals; } export declare const ZodMiniJWT: core.$constructor; export declare function jwt(params?: string | core.$ZodJWTParams): ZodMiniJWT; export interface ZodMiniNumber extends ZodMiniType { _zod: core.$ZodNumberInternals; } export declare const ZodMiniNumber: core.$constructor; export declare function number(params?: string | core.$ZodNumberParams): ZodMiniNumber; export interface ZodMiniNumberFormat extends ZodMiniNumber { _zod: core.$ZodNumberFormatInternals; } export declare const ZodMiniNumberFormat: core.$constructor; export declare function int(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat; export declare function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat; export declare function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat; export declare function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat; export declare function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat; export interface ZodMiniBoolean extends ZodMiniType { _zod: core.$ZodBooleanInternals; } export declare const ZodMiniBoolean: core.$constructor; export declare function boolean(params?: string | core.$ZodBooleanParams): ZodMiniBoolean; export interface ZodMiniBigInt extends ZodMiniType { _zod: core.$ZodBigIntInternals; } export declare const ZodMiniBigInt: core.$constructor; export declare function bigint(params?: string | core.$ZodBigIntParams): ZodMiniBigInt; export interface ZodMiniBigIntFormat extends ZodMiniType { _zod: core.$ZodBigIntFormatInternals; } export declare const ZodMiniBigIntFormat: core.$constructor; export declare function int64(params?: string | core.$ZodBigIntFormatParams): ZodMiniBigIntFormat; export declare function uint64(params?: string | core.$ZodBigIntFormatParams): ZodMiniBigIntFormat; export interface ZodMiniSymbol extends ZodMiniType { _zod: core.$ZodSymbolInternals; } export declare const ZodMiniSymbol: core.$constructor; export declare function symbol(params?: string | core.$ZodSymbolParams): ZodMiniSymbol; export interface ZodMiniUndefined extends ZodMiniType { _zod: core.$ZodUndefinedInternals; } export declare const ZodMiniUndefined: core.$constructor; declare function _undefined(params?: string | core.$ZodUndefinedParams): ZodMiniUndefined; export { _undefined as undefined }; export interface ZodMiniNull extends ZodMiniType { _zod: core.$ZodNullInternals; } export declare const ZodMiniNull: core.$constructor; declare function _null(params?: string | core.$ZodNullParams): ZodMiniNull; export { _null as null }; export interface ZodMiniAny extends ZodMiniType { _zod: core.$ZodAnyInternals; } export declare const ZodMiniAny: core.$constructor; export declare function any(): ZodMiniAny; export interface ZodMiniUnknown extends ZodMiniType { _zod: core.$ZodUnknownInternals; } export declare const ZodMiniUnknown: core.$constructor; export declare function unknown(): ZodMiniUnknown; export interface ZodMiniNever extends ZodMiniType { _zod: core.$ZodNeverInternals; } export declare const ZodMiniNever: core.$constructor; export declare function never(params?: string | core.$ZodNeverParams): ZodMiniNever; export interface ZodMiniVoid extends ZodMiniType { _zod: core.$ZodVoidInternals; } export declare const ZodMiniVoid: core.$constructor; declare function _void(params?: string | core.$ZodVoidParams): ZodMiniVoid; export { _void as void }; export interface ZodMiniDate extends ZodMiniType { _zod: core.$ZodDateInternals; } export declare const ZodMiniDate: core.$constructor; export declare function date(params?: string | core.$ZodDateParams): ZodMiniDate; export interface ZodMiniArray extends ZodMiniType { _zod: core.$ZodArrayInternals; } export declare const ZodMiniArray: core.$constructor; export declare function array(element: T, params?: string | core.$ZodArrayParams): ZodMiniArray; export declare function keyof(schema: T): ZodMiniLiteral; export interface ZodMiniObject< /** @ts-ignore Cast variance */ out Shape extends core.$ZodShape = core.$ZodShape, out Config extends core.$ZodObjectConfig = core.$ZodObjectConfig> extends ZodMiniType { _zod: core.$ZodObjectInternals; shape: Shape; } export declare const ZodMiniObject: core.$constructor; export declare function object>(shape?: T, params?: string | core.$ZodObjectParams): ZodMiniObject; export declare function strictObject(shape: T, params?: string | core.$ZodObjectParams): ZodMiniObject; export declare function looseObject(shape: T, params?: string | core.$ZodObjectParams): ZodMiniObject; export declare function extend(schema: T, shape: U): ZodMiniObject, T["_zod"]["config"]>; /** @deprecated Identical to `z.extend(A, B)` */ export declare function merge(a: T, b: U): ZodMiniObject, T["_zod"]["config"]>; export declare function pick>(schema: T, mask: M): ZodMiniObject>, T["_zod"]["config"]>; export declare function omit>(schema: T, mask: M): ZodMiniObject>, T["_zod"]["config"]>; export declare function partial(schema: T): ZodMiniObject<{ [k in keyof T["shape"]]: ZodMiniOptional; }, T["_zod"]["config"]>; export declare function partial>(schema: T, mask: M): ZodMiniObject<{ [k in keyof T["shape"]]: k extends keyof M ? ZodMiniOptional : T["shape"][k]; }, T["_zod"]["config"]>; export type RequiredInterfaceShape = util.Identity<{ [k in keyof Shape as k extends Keys ? k : never]: ZodMiniNonOptional; } & { [k in keyof Shape as k extends Keys ? never : k]: Shape[k]; }>; export declare function required(schema: T): ZodMiniObject<{ [k in keyof T["shape"]]: ZodMiniNonOptional; }, T["_zod"]["config"]>; export declare function required>(schema: T, mask: M): ZodMiniObject; }>, T["_zod"]["config"]>; export interface ZodMiniUnion extends ZodMiniType { _zod: core.$ZodUnionInternals; } export declare const ZodMiniUnion: core.$constructor; export declare function union(options: T, params?: string | core.$ZodUnionParams): ZodMiniUnion; export interface ZodMiniDiscriminatedUnion extends ZodMiniUnion { _zod: core.$ZodDiscriminatedUnionInternals; } export declare const ZodMiniDiscriminatedUnion: core.$constructor; export interface $ZodTypeDiscriminableInternals extends core.$ZodTypeInternals { disc: util.DiscriminatorMap; } export interface $ZodTypeDiscriminable extends ZodMiniType { _zod: $ZodTypeDiscriminableInternals; } export declare function discriminatedUnion(discriminator: string, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodMiniDiscriminatedUnion; export interface ZodMiniIntersection extends ZodMiniType { _zod: core.$ZodIntersectionInternals; } export declare const ZodMiniIntersection: core.$constructor; export declare function intersection(left: T, right: U): ZodMiniIntersection; export interface ZodMiniTuple extends ZodMiniType { _zod: core.$ZodTupleInternals; } export declare const ZodMiniTuple: core.$constructor; export declare function tuple(items: T, params?: string | core.$ZodTupleParams): ZodMiniTuple; export declare function tuple(items: T, rest: Rest, params?: string | core.$ZodTupleParams): ZodMiniTuple; export declare function tuple(items: [], params?: string | core.$ZodTupleParams): ZodMiniTuple<[], null>; export interface ZodMiniRecord extends ZodMiniType { _zod: core.$ZodRecordInternals; } export declare const ZodMiniRecord: core.$constructor; export declare function record(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord; export declare function partialRecord(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord, Value>; export interface ZodMiniMap extends ZodMiniType { _zod: core.$ZodMapInternals; } export declare const ZodMiniMap: core.$constructor; export declare function map(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMiniMap; export interface ZodMiniSet extends ZodMiniType { _zod: core.$ZodSetInternals; } export declare const ZodMiniSet: core.$constructor; export declare function set(valueType: Value, params?: string | core.$ZodSetParams): ZodMiniSet; export interface ZodMiniEnum extends ZodMiniType { _zod: core.$ZodEnumInternals; } export declare const ZodMiniEnum: core.$constructor; declare function _enum(values: T, params?: string | core.$ZodEnumParams): ZodMiniEnum>; declare function _enum(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum; export { _enum as enum }; /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead. * * ```ts * enum Colors { red, green, blue } * z.enum(Colors); * ``` */ export declare function nativeEnum(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum; export interface ZodMiniLiteral extends ZodMiniType { _zod: core.$ZodLiteralInternals; } export declare const ZodMiniLiteral: core.$constructor; export declare function literal>(value: T, params?: string | core.$ZodLiteralParams): ZodMiniLiteral; export declare function literal(value: T, params?: string | core.$ZodLiteralParams): ZodMiniLiteral; export interface ZodMiniFile extends ZodMiniType { _zod: core.$ZodFileInternals; } export declare const ZodMiniFile: core.$constructor; export declare function file(params?: string | core.$ZodFileParams): ZodMiniFile; export interface ZodMiniTransform extends ZodMiniType { _zod: core.$ZodTransformInternals; } export declare const ZodMiniTransform: core.$constructor; export declare function transform(fn: (input: I, ctx: core.ParsePayload) => O): ZodMiniTransform, I>; export interface ZodMiniOptional extends ZodMiniType { _zod: core.$ZodOptionalInternals; } export declare const ZodMiniOptional: core.$constructor; export declare function optional(innerType: T): ZodMiniOptional; export interface ZodMiniNullable extends ZodMiniType { _zod: core.$ZodNullableInternals; } export declare const ZodMiniNullable: core.$constructor; export declare function nullable(innerType: T): ZodMiniNullable; export declare function nullish(innerType: T): ZodMiniOptional>; export interface ZodMiniDefault extends ZodMiniType { _zod: core.$ZodDefaultInternals; } export declare const ZodMiniDefault: core.$constructor; export declare function _default(innerType: T, defaultValue: util.NoUndefined> | (() => util.NoUndefined>)): ZodMiniDefault; export interface ZodMiniPrefault extends ZodMiniType { _zod: core.$ZodPrefaultInternals; } export declare const ZodMiniPrefault: core.$constructor; export declare function prefault(innerType: T, defaultValue: util.NoUndefined> | (() => util.NoUndefined>)): ZodMiniPrefault; export interface ZodMiniNonOptional extends ZodMiniType { _zod: core.$ZodNonOptionalInternals; } export declare const ZodMiniNonOptional: core.$constructor; export declare function nonoptional(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodMiniNonOptional; export interface ZodMiniSuccess extends ZodMiniType { _zod: core.$ZodSuccessInternals; } export declare const ZodMiniSuccess: core.$constructor; export declare function success(innerType: T): ZodMiniSuccess; export interface ZodMiniCatch extends ZodMiniType { _zod: core.$ZodCatchInternals; } export declare const ZodMiniCatch: core.$constructor; declare function _catch(innerType: T, catchValue: core.output | ((ctx: core.$ZodCatchCtx) => core.output)): ZodMiniCatch; export { _catch as catch }; export interface ZodMiniNaN extends ZodMiniType { _zod: core.$ZodNaNInternals; } export declare const ZodMiniNaN: core.$constructor; export declare function nan(params?: string | core.$ZodNaNParams): ZodMiniNaN; export interface ZodMiniPipe extends ZodMiniType { _zod: core.$ZodPipeInternals; } export declare const ZodMiniPipe: core.$constructor; export declare function pipe> = core.$ZodType>>(in_: A, out: B | core.$ZodType>, params?: string | core.$ZodPipeParams): ZodMiniPipe; export interface ZodMiniReadonly extends ZodMiniType { _zod: core.$ZodReadonlyInternals; } export declare const ZodMiniReadonly: core.$constructor; export declare function readonly(innerType: T): ZodMiniReadonly; export interface ZodMiniTemplateLiteral