ListenerOptions: ZodObject<
extendShape<
{ category: ZodOptional<ZodString> },
{
emitter: ZodUnion<
[
ZodString,
ZodType<
EventEmitter<EventMap<any>>,
ZodTypeDef,
EventEmitter<EventMap<any>>,
>,
],
>;
event: ZodString;
type: ZodOptional<
ZodEnum<["on", "once", "prependListener", "prependOnceListener"]>,
>;
},
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{ category: ZodOptional<ZodString> },
{
emitter: ZodUnion<
[
ZodString,
ZodType<
EventEmitter<EventMap<any>>,
ZodTypeDef,
EventEmitter<EventMap<any>>,
>,
],
>;
event: ZodString;
type: ZodOptional<
ZodEnum<["on", "once", "prependListener", "prependOnceListener"]>,
>;
},
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{ category: ZodOptional<ZodString> },
{
emitter: ZodUnion<
[
ZodString,
ZodType<
EventEmitter<EventMap<any>>,
ZodTypeDef,
EventEmitter<EventMap<any>>,
>,
],
>;
event: ZodString;
type: ZodOptional<
ZodEnum<["on", "once", "prependListener", "prependOnceListener"]>,
>;
},
>,
ZodTypeAny,
"passthrough",
>,
>