import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type PublishResponse = { /** * The ID of the event that was accepted for publishing. This will be the ID provided in the request's `id` field if present, otherwise it's a server-generated UUID. */ id: string; /** * Whether this event was already processed (idempotency hit). If true, the event was not queued again. */ duplicate: boolean; /** * The IDs of destinations that matched this event. Empty array if no destinations matched. */ destinationIds: Array; }; /** @internal */ export declare const PublishResponse$inboundSchema: z.ZodType; /** @internal */ export type PublishResponse$Outbound = { id: string; duplicate: boolean; destination_ids: Array; }; /** @internal */ export declare const PublishResponse$outboundSchema: z.ZodType; export declare function publishResponseToJSON(publishResponse: PublishResponse): string; export declare function publishResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=publishresponse.d.ts.map