import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Event = { id?: string | undefined; /** * The tenant this event belongs to. */ tenantId?: string | undefined; /** * The destination IDs that this event was routed to based on topic and filter matching. */ matchedDestinationIds?: Array | undefined; topic?: string | undefined; /** * Time the event was received/processed. */ time?: Date | undefined; /** * Key-value string pairs of metadata associated with the event. */ metadata?: { [k: string]: string; } | null | undefined; /** * Freeform JSON data of the event. */ data?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const Event$inboundSchema: z.ZodType; /** @internal */ export type Event$Outbound = { id?: string | undefined; tenant_id?: string | undefined; matched_destination_ids?: Array | undefined; topic?: string | undefined; time?: string | undefined; metadata?: { [k: string]: string; } | null | undefined; data?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const Event$outboundSchema: z.ZodType; export declare function eventToJSON(event: Event): string; export declare function eventFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=event.d.ts.map