import { z } from 'zod'; /** * Zod schema for the Event model. * Defines the structure and validation rules for this data type. * This is the shape used in application code - what developers interact with. */ export declare const event: z.ZodLazy; context: z.ZodNullable>; id: z.ZodString; level: z.ZodOptional; log: z.ZodNullable>; payload: z.ZodNullable>; timestamp: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; id: string; timestamp: string; code?: number | undefined; context?: any; level?: string | undefined; log?: string | null | undefined; payload?: any; }, { type: string; id: string; timestamp: string; code?: number | undefined; context?: any; level?: string | undefined; log?: string | null | undefined; payload?: any; }>>; /** * * @typedef {Event} event * @property {number} - The numeric code that categorizes the event. * @property {any} - Additional contextual attributes for the event. * @property {string} - The unique identifier for the event. * @property {string} - The severity level assigned to the event. * @property {string} - A human-readable log message. * @property {any} - The raw payload delivered by the event source. * @property {string} - The time at which the event was recorded. * @property {string} - The type of event that occurred. */ export type Event = z.infer; /** * Zod schema for mapping API responses to the Event application shape. * Handles any property name transformations from the API schema. * If property names match the API schema exactly, this is identical to the application shape. */ export declare const eventResponse: z.ZodLazy; context: z.ZodNullable>; id: z.ZodString; level: z.ZodOptional; log: z.ZodNullable>; payload: z.ZodNullable>; timestamp: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; id: string; timestamp: string; code?: number | undefined; context?: any; level?: string | undefined; log?: string | null | undefined; payload?: any; }, { type: string; id: string; timestamp: string; code?: number | undefined; context?: any; level?: string | undefined; log?: string | null | undefined; payload?: any; }>, { code: number | undefined; context: any; id: string; level: string | undefined; log: string | null | undefined; payload: any; timestamp: string; type: string; }, { type: string; id: string; timestamp: string; code?: number | undefined; context?: any; level?: string | undefined; log?: string | null | undefined; payload?: any; }>>; /** * Zod schema for mapping the Event application shape to API requests. * Handles any property name transformations required by the API schema. * If property names match the API schema exactly, this is identical to the application shape. */ export declare const eventRequest: z.ZodLazy; context: z.ZodNullable>; id: z.ZodString; level: z.ZodOptional; log: z.ZodNullable>; payload: z.ZodNullable>; timestamp: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; id: string; timestamp: string; code?: number | undefined; context?: any; level?: string | undefined; log?: string | null | undefined; payload?: any; }, { type: string; id: string; timestamp: string; code?: number | undefined; context?: any; level?: string | undefined; log?: string | null | undefined; payload?: any; }>, { code: number | undefined; context: any; id: string; level: string | undefined; log: string | null | undefined; payload: any; timestamp: string; type: string; }, { type: string; id: string; timestamp: string; code?: number | undefined; context?: any; level?: string | undefined; log?: string | null | undefined; payload?: any; }>>; //# sourceMappingURL=event.d.ts.map