/**
 * Zod schemas for event validation.
 */
import { z } from 'zod';
export declare const EventSourceZ: z.ZodEnum<["posthog", "canvas", "derived"]>;
export declare const NormalizedEventZ: z.ZodObject<{
    ts: z.ZodNumber;
    name: z.ZodString;
    source: z.ZodEnum<["posthog", "canvas", "derived"]>;
    props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    schemaVersion: z.ZodString;
}, "strip", z.ZodTypeAny, {
    source: "posthog" | "canvas" | "derived";
    name: string;
    schemaVersion: string;
    ts: number;
    props?: Record<string, unknown> | undefined;
}, {
    source: "posthog" | "canvas" | "derived";
    name: string;
    schemaVersion: string;
    ts: number;
    props?: Record<string, unknown> | undefined;
}>;
export declare const EventFilterZ: z.ZodObject<{
    names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    sources: z.ZodOptional<z.ZodArray<z.ZodEnum<["posthog", "canvas", "derived"]>, "many">>;
}, "strip", z.ZodTypeAny, {
    names?: string[] | undefined;
    patterns?: string[] | undefined;
    sources?: ("posthog" | "canvas" | "derived")[] | undefined;
}, {
    names?: string[] | undefined;
    patterns?: string[] | undefined;
    sources?: ("posthog" | "canvas" | "derived")[] | undefined;
}>;
/**
 * Validate a NormalizedEvent object.
 */
export declare function validateNormalizedEvent(data: unknown): z.SafeParseReturnType<{
    source: "posthog" | "canvas" | "derived";
    name: string;
    schemaVersion: string;
    ts: number;
    props?: Record<string, unknown> | undefined;
}, {
    source: "posthog" | "canvas" | "derived";
    name: string;
    schemaVersion: string;
    ts: number;
    props?: Record<string, unknown> | undefined;
}>;
/**
 * Validate an EventFilter object.
 */
export declare function validateEventFilter(data: unknown): z.SafeParseReturnType<{
    names?: string[] | undefined;
    patterns?: string[] | undefined;
    sources?: ("posthog" | "canvas" | "derived")[] | undefined;
}, {
    names?: string[] | undefined;
    patterns?: string[] | undefined;
    sources?: ("posthog" | "canvas" | "derived")[] | undefined;
}>;
/**
 * Type inference from Zod schema.
 */
export type NormalizedEventSchema = z.infer<typeof NormalizedEventZ>;
export type EventFilterSchema = z.infer<typeof EventFilterZ>;
