/** * Zod schemas for EventEmitter and EventTarget types. * * @packageDocumentation */ import { z } from 'bupkis'; import type { EventEmitterLike, TimeoutOptions } from "./types.js"; /** * Schema that validates EventEmitter-like objects. * * Uses duck-typing via {@link isEventEmitter} to support custom implementations * and cross-realm objects. */ export declare const EventEmitterSchema: z.ZodCustom; /** * Schema that validates EventTarget objects. * * Uses duck-typing via {@link isEventTarget} to support custom implementations * and cross-realm objects. */ export declare const EventTargetSchema: z.ZodCustom; /** * Schema for event names (string or symbol). */ export declare const EventNameSchema: z.ZodUnion; /** * Schema for timeout options when required (non-optional variant). */ export declare const RequiredTimeoutOptionsSchema: z.ZodType; /** * Schema for a trigger (function or Promise) that causes an event. */ export declare const TriggerSchema: z.ZodUnion, z.ZodCustom, Promise>]>; /** * Schema for an array of event names (for sequence assertions). */ export declare const EventSequenceSchema: z.ZodArray>; //# sourceMappingURL=schema.d.ts.map