import * as z from './base'; export interface ZodOptionalDef extends z.ZodTypeDef { t: z.ZodTypes.optional; innerType: T; } export declare type ZodOptionalType = T extends ZodOptional ? T : ZodOptional; export declare class ZodOptional extends z.ZodType, T['_input'] | undefined> { toJSON: () => { t: z.ZodTypes.optional; innerType: object; }; static create: (type: T_1) => ZodOptionalType; }