import type { MessageCreated } from './messageCreated.t'; import type { MessageUpdated } from './messageUpdated.t'; import type { WebchatVisibility } from './webchatVisibility.t'; import type { WebchatConfig } from './webchatConfig.t'; import type { Custom } from './custom.t'; import type { TypingStarted } from './typingStarted.t'; import type { TypingStopped } from './typingStopped.t'; import type { ParticipantAdded } from './participantAdded.t'; import type { ParticipantRemoved } from './participantRemoved.t'; import type { MessageStatusChanged } from './messageStatusChanged.t'; import type { Initialized } from './initialized.t'; export declare const json: { messageCreated: import("json-schema").JSONSchema7; messageUpdated: import("json-schema").JSONSchema7; webchatVisibility: import("json-schema").JSONSchema7; webchatConfig: import("json-schema").JSONSchema7; custom: import("json-schema").JSONSchema7; typingStarted: import("json-schema").JSONSchema7; typingStopped: import("json-schema").JSONSchema7; participantAdded: import("json-schema").JSONSchema7; participantRemoved: import("json-schema").JSONSchema7; messageStatusChanged: import("json-schema").JSONSchema7; initialized: import("json-schema").JSONSchema7; }; export declare const zod: { messageCreated: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"message_created">; data: import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodString; payload: import("zod").ZodUnion<[import("zod").ZodObject<{ audioUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"audio">; }, "strip", import("zod").ZodTypeAny, { type: "audio"; audioUrl: string; fileId?: string | undefined; }, { type: "audio"; audioUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ title: import("zod").ZodString; subtitle: import("zod").ZodOptional; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; type: import("zod").ZodLiteral<"card">; }, "strip", import("zod").ZodTypeAny, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; }, "strip", import("zod").ZodTypeAny, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, "many">; type: import("zod").ZodLiteral<"carousel">; }, "strip", import("zod").ZodTypeAny, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"choice">; }, "strip", import("zod").ZodTypeAny, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"dropdown">; }, "strip", import("zod").ZodTypeAny, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"file">; }, "strip", import("zod").ZodTypeAny, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>, import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"image">; }, "strip", import("zod").ZodTypeAny, { type: "image"; imageUrl: string; fileId?: string | undefined; }, { type: "image"; imageUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; type: import("zod").ZodLiteral<"location">; }, "strip", import("zod").ZodTypeAny, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; type: import("zod").ZodLiteral<"text">; }, "strip", import("zod").ZodTypeAny, { type: "text"; text: string; value?: string | undefined; }, { type: "text"; text: string; value?: string | undefined; }>, import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"video">; }, "strip", import("zod").ZodTypeAny, { type: "video"; videoUrl: string; fileId?: string | undefined; }, { type: "video"; videoUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; payload: import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { text: string; value?: string | undefined; }, { text: string; value?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "text"; payload: { text: string; value?: string | undefined; }; }, { type: "text"; payload: { text: string; value?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"markdown">; payload: import("zod").ZodObject<{ markdown: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { markdown: string; }, { markdown: string; }>; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; payload: { markdown: string; }; }, { type: "markdown"; payload: { markdown: string; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"image">; payload: import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { imageUrl: string; fileId?: string | undefined; }, { imageUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"audio">; payload: import("zod").ZodObject<{ audioUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { audioUrl: string; fileId?: string | undefined; }, { audioUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"video">; payload: import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { videoUrl: string; fileId?: string | undefined; }, { videoUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"file">; payload: import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"location">; payload: import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }>]>, "many">; type: import("zod").ZodLiteral<"bloc">; }, "strip", import("zod").ZodTypeAny, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }>, import("zod").ZodObject<{ markdown: import("zod").ZodString; type: import("zod").ZodLiteral<"markdown">; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; markdown: string; }, { type: "markdown"; markdown: string; }>, import("zod").ZodObject<{ url: import("zod").ZodString; name: import("zod").ZodString; data: import("zod").ZodOptional>; type: import("zod").ZodLiteral<"custom">; }, "strip", import("zod").ZodTypeAny, { type: "custom"; url: string; name: string; data?: any; }, { type: "custom"; url: string; name: string; data?: any; }>]>; userId: import("zod").ZodString; conversationId: import("zod").ZodString; metadata: import("zod").ZodOptional>>; replyTo: import("zod").ZodOptional; selectedBy: import("zod").ZodOptional; feedback: import("zod").ZodOptional; comment: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: "positive" | "negative"; comment?: string | undefined; }, { value: "positive" | "negative"; comment?: string | undefined; }>>; }, "strip", import("zod").ZodTypeAny, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "message_created"; data: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }; }, { type: "message_created"; data: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }; }>; messageUpdated: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"message_updated">; data: import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodString; payload: import("zod").ZodUnion<[import("zod").ZodObject<{ audioUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"audio">; }, "strip", import("zod").ZodTypeAny, { type: "audio"; audioUrl: string; fileId?: string | undefined; }, { type: "audio"; audioUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ title: import("zod").ZodString; subtitle: import("zod").ZodOptional; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; type: import("zod").ZodLiteral<"card">; }, "strip", import("zod").ZodTypeAny, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; }, "strip", import("zod").ZodTypeAny, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, "many">; type: import("zod").ZodLiteral<"carousel">; }, "strip", import("zod").ZodTypeAny, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"choice">; }, "strip", import("zod").ZodTypeAny, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"dropdown">; }, "strip", import("zod").ZodTypeAny, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"file">; }, "strip", import("zod").ZodTypeAny, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>, import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"image">; }, "strip", import("zod").ZodTypeAny, { type: "image"; imageUrl: string; fileId?: string | undefined; }, { type: "image"; imageUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; type: import("zod").ZodLiteral<"location">; }, "strip", import("zod").ZodTypeAny, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; type: import("zod").ZodLiteral<"text">; }, "strip", import("zod").ZodTypeAny, { type: "text"; text: string; value?: string | undefined; }, { type: "text"; text: string; value?: string | undefined; }>, import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"video">; }, "strip", import("zod").ZodTypeAny, { type: "video"; videoUrl: string; fileId?: string | undefined; }, { type: "video"; videoUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; payload: import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { text: string; value?: string | undefined; }, { text: string; value?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "text"; payload: { text: string; value?: string | undefined; }; }, { type: "text"; payload: { text: string; value?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"markdown">; payload: import("zod").ZodObject<{ markdown: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { markdown: string; }, { markdown: string; }>; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; payload: { markdown: string; }; }, { type: "markdown"; payload: { markdown: string; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"image">; payload: import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { imageUrl: string; fileId?: string | undefined; }, { imageUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"audio">; payload: import("zod").ZodObject<{ audioUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { audioUrl: string; fileId?: string | undefined; }, { audioUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"video">; payload: import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { videoUrl: string; fileId?: string | undefined; }, { videoUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"file">; payload: import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"location">; payload: import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }>]>, "many">; type: import("zod").ZodLiteral<"bloc">; }, "strip", import("zod").ZodTypeAny, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }>, import("zod").ZodObject<{ markdown: import("zod").ZodString; type: import("zod").ZodLiteral<"markdown">; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; markdown: string; }, { type: "markdown"; markdown: string; }>, import("zod").ZodObject<{ url: import("zod").ZodString; name: import("zod").ZodString; data: import("zod").ZodOptional>; type: import("zod").ZodLiteral<"custom">; }, "strip", import("zod").ZodTypeAny, { type: "custom"; url: string; name: string; data?: any; }, { type: "custom"; url: string; name: string; data?: any; }>]>; userId: import("zod").ZodString; conversationId: import("zod").ZodString; metadata: import("zod").ZodOptional>>; replyTo: import("zod").ZodOptional; selectedBy: import("zod").ZodOptional; feedback: import("zod").ZodOptional; comment: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: "positive" | "negative"; comment?: string | undefined; }, { value: "positive" | "negative"; comment?: string | undefined; }>>; }, "strip", import("zod").ZodTypeAny, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "message_updated"; data: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }; }, { type: "message_updated"; data: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }; }>; webchatVisibility: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"webchat_visibility">; data: import("zod").ZodObject<{ visibility: import("zod").ZodUnion<[import("zod").ZodLiteral<"show">, import("zod").ZodLiteral<"hide">, import("zod").ZodLiteral<"toggle">]>; }, "strip", import("zod").ZodTypeAny, { visibility: "show" | "hide" | "toggle"; }, { visibility: "show" | "hide" | "toggle"; }>; }, "strip", import("zod").ZodTypeAny, { type: "webchat_visibility"; data: { visibility: "show" | "hide" | "toggle"; }; }, { type: "webchat_visibility"; data: { visibility: "show" | "hide" | "toggle"; }; }>; webchatConfig: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"webchat_config">; data: import("zod").ZodObject<{ config: import("zod").ZodRecord>; }, "strip", import("zod").ZodTypeAny, { config: Record; }, { config: Record; }>; }, "strip", import("zod").ZodTypeAny, { type: "webchat_config"; data: { config: Record; }; }, { type: "webchat_config"; data: { config: Record; }; }>; custom: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"custom">; data: import("zod").ZodObject<{ event: import("zod").ZodRecord>; }, "strip", import("zod").ZodTypeAny, { event: Record; }, { event: Record; }>; }, "strip", import("zod").ZodTypeAny, { type: "custom"; data: { event: Record; }; }, { type: "custom"; data: { event: Record; }; }>; typingStarted: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"typing_started">; data: import("zod").ZodObject<{ timeout: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { timeout?: number | undefined; }, { timeout?: number | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "typing_started"; data: { timeout?: number | undefined; }; }, { type: "typing_started"; data: { timeout?: number | undefined; }; }>; typingStopped: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"typing_stopped">; data: import("zod").ZodRecord; }, "strip", import("zod").ZodTypeAny, { type: "typing_stopped"; data: Record; }, { type: "typing_stopped"; data: Record; }>; participantAdded: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"participant_added">; data: import("zod").ZodObject<{ conversationId: import("zod").ZodString; participant: import("zod").ZodObject<{ name: import("zod").ZodOptional; pictureUrl: import("zod").ZodOptional; data: import("zod").ZodOptional>; attributes: import("zod").ZodOptional>; id: import("zod").ZodString; createdAt: import("zod").ZodString; updatedAt: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }, { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }>; }, "strip", import("zod").ZodTypeAny, { conversationId: string; participant: { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }; }, { conversationId: string; participant: { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }; }>; }, "strip", import("zod").ZodTypeAny, { type: "participant_added"; data: { conversationId: string; participant: { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }; }; }, { type: "participant_added"; data: { conversationId: string; participant: { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }; }; }>; participantRemoved: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"participant_removed">; data: import("zod").ZodObject<{ conversationId: import("zod").ZodString; participantId: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { conversationId: string; participantId: string; }, { conversationId: string; participantId: string; }>; }, "strip", import("zod").ZodTypeAny, { type: "participant_removed"; data: { conversationId: string; participantId: string; }; }, { type: "participant_removed"; data: { conversationId: string; participantId: string; }; }>; messageStatusChanged: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"message_status_changed">; data: import("zod").ZodObject<{ message: import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodString; payload: import("zod").ZodUnion<[import("zod").ZodObject<{ audioUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"audio">; }, "strip", import("zod").ZodTypeAny, { type: "audio"; audioUrl: string; fileId?: string | undefined; }, { type: "audio"; audioUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ title: import("zod").ZodString; subtitle: import("zod").ZodOptional; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; type: import("zod").ZodLiteral<"card">; }, "strip", import("zod").ZodTypeAny, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; }, "strip", import("zod").ZodTypeAny, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, "many">; type: import("zod").ZodLiteral<"carousel">; }, "strip", import("zod").ZodTypeAny, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"choice">; }, "strip", import("zod").ZodTypeAny, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"dropdown">; }, "strip", import("zod").ZodTypeAny, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"file">; }, "strip", import("zod").ZodTypeAny, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>, import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"image">; }, "strip", import("zod").ZodTypeAny, { type: "image"; imageUrl: string; fileId?: string | undefined; }, { type: "image"; imageUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; type: import("zod").ZodLiteral<"location">; }, "strip", import("zod").ZodTypeAny, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; type: import("zod").ZodLiteral<"text">; }, "strip", import("zod").ZodTypeAny, { type: "text"; text: string; value?: string | undefined; }, { type: "text"; text: string; value?: string | undefined; }>, import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"video">; }, "strip", import("zod").ZodTypeAny, { type: "video"; videoUrl: string; fileId?: string | undefined; }, { type: "video"; videoUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; payload: import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { text: string; value?: string | undefined; }, { text: string; value?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "text"; payload: { text: string; value?: string | undefined; }; }, { type: "text"; payload: { text: string; value?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"markdown">; payload: import("zod").ZodObject<{ markdown: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { markdown: string; }, { markdown: string; }>; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; payload: { markdown: string; }; }, { type: "markdown"; payload: { markdown: string; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"image">; payload: import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { imageUrl: string; fileId?: string | undefined; }, { imageUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"audio">; payload: import("zod").ZodObject<{ audioUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { audioUrl: string; fileId?: string | undefined; }, { audioUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"video">; payload: import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { videoUrl: string; fileId?: string | undefined; }, { videoUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"file">; payload: import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"location">; payload: import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }>]>, "many">; type: import("zod").ZodLiteral<"bloc">; }, "strip", import("zod").ZodTypeAny, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }>, import("zod").ZodObject<{ markdown: import("zod").ZodString; type: import("zod").ZodLiteral<"markdown">; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; markdown: string; }, { type: "markdown"; markdown: string; }>, import("zod").ZodObject<{ url: import("zod").ZodString; name: import("zod").ZodString; data: import("zod").ZodOptional>; type: import("zod").ZodLiteral<"custom">; }, "strip", import("zod").ZodTypeAny, { type: "custom"; url: string; name: string; data?: any; }, { type: "custom"; url: string; name: string; data?: any; }>]>; userId: import("zod").ZodString; conversationId: import("zod").ZodString; metadata: import("zod").ZodOptional>>; replyTo: import("zod").ZodOptional; selectedBy: import("zod").ZodOptional; feedback: import("zod").ZodOptional; comment: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: "positive" | "negative"; comment?: string | undefined; }, { value: "positive" | "negative"; comment?: string | undefined; }>>; }, "strip", import("zod").ZodTypeAny, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }>; oldStatus: import("zod").ZodOptional>; newStatus: import("zod").ZodEnum<["scheduled", "pending", "processing", "processed", "failed", "skipped"]>; failureReason: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { message: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }; newStatus: "scheduled" | "pending" | "processing" | "processed" | "failed" | "skipped"; oldStatus?: "scheduled" | "pending" | "processing" | "processed" | "failed" | "skipped" | undefined; failureReason?: string | undefined; }, { message: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }; newStatus: "scheduled" | "pending" | "processing" | "processed" | "failed" | "skipped"; oldStatus?: "scheduled" | "pending" | "processing" | "processed" | "failed" | "skipped" | undefined; failureReason?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "message_status_changed"; data: { message: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }; newStatus: "scheduled" | "pending" | "processing" | "processed" | "failed" | "skipped"; oldStatus?: "scheduled" | "pending" | "processing" | "processed" | "failed" | "skipped" | undefined; failureReason?: string | undefined; }; }, { type: "message_status_changed"; data: { message: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }; newStatus: "scheduled" | "pending" | "processing" | "processed" | "failed" | "skipped"; oldStatus?: "scheduled" | "pending" | "processing" | "processed" | "failed" | "skipped" | undefined; failureReason?: string | undefined; }; }>; initialized: import("zod").ZodObject<{ type: import("zod").ZodLiteral<"init">; data: import("zod").ZodObject<{ conversation: import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodString; updatedAt: import("zod").ZodString; lastMessage: import("zod").ZodOptional; type: import("zod").ZodLiteral<"audio">; }, "strip", import("zod").ZodTypeAny, { type: "audio"; audioUrl: string; fileId?: string | undefined; }, { type: "audio"; audioUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ title: import("zod").ZodString; subtitle: import("zod").ZodOptional; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; type: import("zod").ZodLiteral<"card">; }, "strip", import("zod").ZodTypeAny, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; }, "strip", import("zod").ZodTypeAny, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, "many">; type: import("zod").ZodLiteral<"carousel">; }, "strip", import("zod").ZodTypeAny, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"choice">; }, "strip", import("zod").ZodTypeAny, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"dropdown">; }, "strip", import("zod").ZodTypeAny, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"file">; }, "strip", import("zod").ZodTypeAny, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>, import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"image">; }, "strip", import("zod").ZodTypeAny, { type: "image"; imageUrl: string; fileId?: string | undefined; }, { type: "image"; imageUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; type: import("zod").ZodLiteral<"location">; }, "strip", import("zod").ZodTypeAny, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; type: import("zod").ZodLiteral<"text">; }, "strip", import("zod").ZodTypeAny, { type: "text"; text: string; value?: string | undefined; }, { type: "text"; text: string; value?: string | undefined; }>, import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"video">; }, "strip", import("zod").ZodTypeAny, { type: "video"; videoUrl: string; fileId?: string | undefined; }, { type: "video"; videoUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; payload: import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { text: string; value?: string | undefined; }, { text: string; value?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "text"; payload: { text: string; value?: string | undefined; }; }, { type: "text"; payload: { text: string; value?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"markdown">; payload: import("zod").ZodObject<{ markdown: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { markdown: string; }, { markdown: string; }>; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; payload: { markdown: string; }; }, { type: "markdown"; payload: { markdown: string; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"image">; payload: import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { imageUrl: string; fileId?: string | undefined; }, { imageUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"audio">; payload: import("zod").ZodObject<{ audioUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { audioUrl: string; fileId?: string | undefined; }, { audioUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"video">; payload: import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { videoUrl: string; fileId?: string | undefined; }, { videoUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"file">; payload: import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"location">; payload: import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }>]>, "many">; type: import("zod").ZodLiteral<"bloc">; }, "strip", import("zod").ZodTypeAny, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }>, import("zod").ZodObject<{ markdown: import("zod").ZodString; type: import("zod").ZodLiteral<"markdown">; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; markdown: string; }, { type: "markdown"; markdown: string; }>, import("zod").ZodObject<{ url: import("zod").ZodString; name: import("zod").ZodString; data: import("zod").ZodOptional>; type: import("zod").ZodLiteral<"custom">; }, "strip", import("zod").ZodTypeAny, { type: "custom"; url: string; name: string; data?: any; }, { type: "custom"; url: string; name: string; data?: any; }>]>; userId: import("zod").ZodString; conversationId: import("zod").ZodString; metadata: import("zod").ZodOptional>>; replyTo: import("zod").ZodOptional; selectedBy: import("zod").ZodOptional; feedback: import("zod").ZodOptional; comment: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: "positive" | "negative"; comment?: string | undefined; }, { value: "positive" | "negative"; comment?: string | undefined; }>>; }, "strip", import("zod").ZodTypeAny, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }>>; }, "strip", import("zod").ZodTypeAny, { id: string; createdAt: string; updatedAt: string; lastMessage?: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; } | undefined; }, { id: string; createdAt: string; updatedAt: string; lastMessage?: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; } | undefined; }>; messages: import("zod").ZodArray; type: import("zod").ZodLiteral<"audio">; }, "strip", import("zod").ZodTypeAny, { type: "audio"; audioUrl: string; fileId?: string | undefined; }, { type: "audio"; audioUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ title: import("zod").ZodString; subtitle: import("zod").ZodOptional; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; type: import("zod").ZodLiteral<"card">; }, "strip", import("zod").ZodTypeAny, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; imageUrl: import("zod").ZodOptional; actions: import("zod").ZodArray; label: import("zod").ZodString; value: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { action: "postback" | "url" | "say"; label: string; value: string; }, { action: "postback" | "url" | "say"; label: string; value: string; }>, "many">; }, "strip", import("zod").ZodTypeAny, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }, { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }>, "many">; type: import("zod").ZodLiteral<"carousel">; }, "strip", import("zod").ZodTypeAny, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }, { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"choice">; }, "strip", import("zod").ZodTypeAny, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; options: import("zod").ZodArray, "many">; disableFreeText: import("zod").ZodOptional; type: import("zod").ZodLiteral<"dropdown">; }, "strip", import("zod").ZodTypeAny, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }, { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; }>, import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"file">; }, "strip", import("zod").ZodTypeAny, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>, import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"image">; }, "strip", import("zod").ZodTypeAny, { type: "image"; imageUrl: string; fileId?: string | undefined; }, { type: "image"; imageUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; type: import("zod").ZodLiteral<"location">; }, "strip", import("zod").ZodTypeAny, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>, import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; type: import("zod").ZodLiteral<"text">; }, "strip", import("zod").ZodTypeAny, { type: "text"; text: string; value?: string | undefined; }, { type: "text"; text: string; value?: string | undefined; }>, import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; type: import("zod").ZodLiteral<"video">; }, "strip", import("zod").ZodTypeAny, { type: "video"; videoUrl: string; fileId?: string | undefined; }, { type: "video"; videoUrl: string; fileId?: string | undefined; }>, import("zod").ZodObject<{ items: import("zod").ZodArray; payload: import("zod").ZodObject<{ text: import("zod").ZodString; value: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { text: string; value?: string | undefined; }, { text: string; value?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "text"; payload: { text: string; value?: string | undefined; }; }, { type: "text"; payload: { text: string; value?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"markdown">; payload: import("zod").ZodObject<{ markdown: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { markdown: string; }, { markdown: string; }>; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; payload: { markdown: string; }; }, { type: "markdown"; payload: { markdown: string; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"image">; payload: import("zod").ZodObject<{ imageUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { imageUrl: string; fileId?: string | undefined; }, { imageUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }, { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"audio">; payload: import("zod").ZodObject<{ audioUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { audioUrl: string; fileId?: string | undefined; }, { audioUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }, { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"video">; payload: import("zod").ZodObject<{ videoUrl: import("zod").ZodString; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { videoUrl: string; fileId?: string | undefined; }, { videoUrl: string; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }, { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"file">; payload: import("zod").ZodObject<{ fileUrl: import("zod").ZodString; title: import("zod").ZodOptional; fileId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }, { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }, { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; }>, import("zod").ZodObject<{ type: import("zod").ZodLiteral<"location">; payload: import("zod").ZodObject<{ latitude: import("zod").ZodNumber; longitude: import("zod").ZodNumber; address: import("zod").ZodOptional; title: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }, { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }>; }, "strip", import("zod").ZodTypeAny, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }, { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; }>]>, "many">; type: import("zod").ZodLiteral<"bloc">; }, "strip", import("zod").ZodTypeAny, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }, { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; }>, import("zod").ZodObject<{ markdown: import("zod").ZodString; type: import("zod").ZodLiteral<"markdown">; }, "strip", import("zod").ZodTypeAny, { type: "markdown"; markdown: string; }, { type: "markdown"; markdown: string; }>, import("zod").ZodObject<{ url: import("zod").ZodString; name: import("zod").ZodString; data: import("zod").ZodOptional>; type: import("zod").ZodLiteral<"custom">; }, "strip", import("zod").ZodTypeAny, { type: "custom"; url: string; name: string; data?: any; }, { type: "custom"; url: string; name: string; data?: any; }>]>; userId: import("zod").ZodString; conversationId: import("zod").ZodString; metadata: import("zod").ZodOptional>>; replyTo: import("zod").ZodOptional; selectedBy: import("zod").ZodOptional; feedback: import("zod").ZodOptional; comment: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: "positive" | "negative"; comment?: string | undefined; }, { value: "positive" | "negative"; comment?: string | undefined; }>>; }, "strip", import("zod").ZodTypeAny, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }, { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }>, "many">; participants: import("zod").ZodArray; pictureUrl: import("zod").ZodOptional; data: import("zod").ZodOptional>; attributes: import("zod").ZodOptional>; id: import("zod").ZodString; createdAt: import("zod").ZodString; updatedAt: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }, { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }>, "many">; user: import("zod").ZodObject<{ name: import("zod").ZodOptional; pictureUrl: import("zod").ZodOptional; data: import("zod").ZodOptional>; attributes: import("zod").ZodOptional>; id: import("zod").ZodString; createdAt: import("zod").ZodString; updatedAt: import("zod").ZodString; userKey: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { id: string; createdAt: string; updatedAt: string; userKey: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }, { id: string; createdAt: string; updatedAt: string; userKey: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }>; }, "strip", import("zod").ZodTypeAny, { conversation: { id: string; createdAt: string; updatedAt: string; lastMessage?: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; } | undefined; }; messages: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }[]; participants: { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }[]; user: { id: string; createdAt: string; updatedAt: string; userKey: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }; }, { conversation: { id: string; createdAt: string; updatedAt: string; lastMessage?: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; } | undefined; }; messages: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }[]; participants: { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }[]; user: { id: string; createdAt: string; updatedAt: string; userKey: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }; }>; }, "strip", import("zod").ZodTypeAny, { type: "init"; data: { conversation: { id: string; createdAt: string; updatedAt: string; lastMessage?: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; } | undefined; }; messages: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }[]; participants: { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }[]; user: { id: string; createdAt: string; updatedAt: string; userKey: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }; }; }, { type: "init"; data: { conversation: { id: string; createdAt: string; updatedAt: string; lastMessage?: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; } | undefined; }; messages: { id: string; payload: { type: "audio"; audioUrl: string; fileId?: string | undefined; } | { type: "card"; title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; } | { type: "carousel"; items: { title: string; actions: { action: "postback" | "url" | "say"; label: string; value: string; }[]; subtitle?: string | undefined; imageUrl?: string | undefined; }[]; } | { type: "choice"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "dropdown"; options: { label: string; value: string; }[]; text: string; disableFreeText?: boolean | undefined; } | { type: "file"; fileUrl: string; title?: string | undefined; fileId?: string | undefined; } | { type: "image"; imageUrl: string; fileId?: string | undefined; } | { type: "location"; latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; } | { type: "text"; text: string; value?: string | undefined; } | { type: "video"; videoUrl: string; fileId?: string | undefined; } | { type: "bloc"; items: ({ type: "text"; payload: { text: string; value?: string | undefined; }; } | { type: "markdown"; payload: { markdown: string; }; } | { type: "image"; payload: { imageUrl: string; fileId?: string | undefined; }; } | { type: "audio"; payload: { audioUrl: string; fileId?: string | undefined; }; } | { type: "video"; payload: { videoUrl: string; fileId?: string | undefined; }; } | { type: "file"; payload: { fileUrl: string; title?: string | undefined; fileId?: string | undefined; }; } | { type: "location"; payload: { latitude: number; longitude: number; address?: string | undefined; title?: string | undefined; }; })[]; } | { type: "markdown"; markdown: string; } | { type: "custom"; url: string; name: string; data?: any; }; userId: string; conversationId: string; createdAt: string; metadata?: Record | undefined; replyTo?: string | undefined; selectedBy?: string | undefined; feedback?: { value: "positive" | "negative"; comment?: string | undefined; } | undefined; }[]; participants: { id: string; createdAt: string; updatedAt: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }[]; user: { id: string; createdAt: string; updatedAt: string; userKey: string; name?: string | undefined; pictureUrl?: string | undefined; data?: Record | undefined; attributes?: Record | undefined; }; }; }>; }; export type Types = { messageCreated: MessageCreated; messageUpdated: MessageUpdated; webchatVisibility: WebchatVisibility; webchatConfig: WebchatConfig; custom: Custom; typingStarted: TypingStarted; typingStopped: TypingStopped; participantAdded: ParticipantAdded; participantRemoved: ParticipantRemoved; messageStatusChanged: MessageStatusChanged; initialized: Initialized; };