import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; export declare const DiscordParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; channel_id: z.ZodString; content: z.ZodOptional; embeds: z.ZodOptional; description: z.ZodOptional; url: z.ZodOptional; color: z.ZodOptional; fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; name: string; inline?: boolean | undefined; }, { value: string; name: string; inline?: boolean | undefined; }>, "many">>; footer: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; icon_url?: string | undefined; }, { text: string; icon_url?: string | undefined; }>>; thumbnail: z.ZodOptional>; image: z.ZodOptional>; author: z.ZodOptional; icon_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; url?: string | undefined; icon_url?: string | undefined; }, { name: string; url?: string | undefined; icon_url?: string | undefined; }>>; timestamp: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; title?: string | undefined; image?: { url: string; } | undefined; url?: string | undefined; fields?: { value: string; name: string; inline?: boolean | undefined; }[] | undefined; color?: number | undefined; footer?: { text: string; icon_url?: string | undefined; } | undefined; timestamp?: string | undefined; thumbnail?: { url: string; } | undefined; author?: { name: string; url?: string | undefined; icon_url?: string | undefined; } | undefined; }, { description?: string | undefined; title?: string | undefined; image?: { url: string; } | undefined; url?: string | undefined; fields?: { value: string; name: string; inline?: boolean | undefined; }[] | undefined; color?: number | undefined; footer?: { text: string; icon_url?: string | undefined; } | undefined; timestamp?: string | undefined; thumbnail?: { url: string; } | undefined; author?: { name: string; url?: string | undefined; icon_url?: string | undefined; } | undefined; }>, "many">>; tts: z.ZodDefault>; reply_to: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "send_message"; channel_id: string; tts: boolean; credentials?: Partial> | undefined; content?: string | undefined; reply_to?: string | undefined; embeds?: { description?: string | undefined; title?: string | undefined; image?: { url: string; } | undefined; url?: string | undefined; fields?: { value: string; name: string; inline?: boolean | undefined; }[] | undefined; color?: number | undefined; footer?: { text: string; icon_url?: string | undefined; } | undefined; timestamp?: string | undefined; thumbnail?: { url: string; } | undefined; author?: { name: string; url?: string | undefined; icon_url?: string | undefined; } | undefined; }[] | undefined; }, { operation: "send_message"; channel_id: string; credentials?: Partial> | undefined; content?: string | undefined; reply_to?: string | undefined; embeds?: { description?: string | undefined; title?: string | undefined; image?: { url: string; } | undefined; url?: string | undefined; fields?: { value: string; name: string; inline?: boolean | undefined; }[] | undefined; color?: number | undefined; footer?: { text: string; icon_url?: string | undefined; } | undefined; timestamp?: string | undefined; thumbnail?: { url: string; } | undefined; author?: { name: string; url?: string | undefined; icon_url?: string | undefined; } | undefined; }[] | undefined; tts?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_messages">; channel_id: z.ZodString; limit: z.ZodDefault>; before: z.ZodOptional; after: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_messages"; limit: number; channel_id: string; credentials?: Partial> | undefined; after?: string | undefined; before?: string | undefined; }, { operation: "list_messages"; channel_id: string; credentials?: Partial> | undefined; limit?: number | undefined; after?: string | undefined; before?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"edit_message">; channel_id: z.ZodString; message_id: z.ZodString; content: z.ZodOptional; embeds: z.ZodOptional; description: z.ZodOptional; url: z.ZodOptional; color: z.ZodOptional; fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; name: string; inline?: boolean | undefined; }, { value: string; name: string; inline?: boolean | undefined; }>, "many">>; footer: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; icon_url?: string | undefined; }, { text: string; icon_url?: string | undefined; }>>; thumbnail: z.ZodOptional>; image: z.ZodOptional>; author: z.ZodOptional; icon_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; url?: string | undefined; icon_url?: string | undefined; }, { name: string; url?: string | undefined; icon_url?: string | undefined; }>>; timestamp: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; title?: string | undefined; image?: { url: string; } | undefined; url?: string | undefined; fields?: { value: string; name: string; inline?: boolean | undefined; }[] | undefined; color?: number | undefined; footer?: { text: string; icon_url?: string | undefined; } | undefined; timestamp?: string | undefined; thumbnail?: { url: string; } | undefined; author?: { name: string; url?: string | undefined; icon_url?: string | undefined; } | undefined; }, { description?: string | undefined; title?: string | undefined; image?: { url: string; } | undefined; url?: string | undefined; fields?: { value: string; name: string; inline?: boolean | undefined; }[] | undefined; color?: number | undefined; footer?: { text: string; icon_url?: string | undefined; } | undefined; timestamp?: string | undefined; thumbnail?: { url: string; } | undefined; author?: { name: string; url?: string | undefined; icon_url?: string | undefined; } | undefined; }>, "many">>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "edit_message"; channel_id: string; message_id: string; credentials?: Partial> | undefined; content?: string | undefined; embeds?: { description?: string | undefined; title?: string | undefined; image?: { url: string; } | undefined; url?: string | undefined; fields?: { value: string; name: string; inline?: boolean | undefined; }[] | undefined; color?: number | undefined; footer?: { text: string; icon_url?: string | undefined; } | undefined; timestamp?: string | undefined; thumbnail?: { url: string; } | undefined; author?: { name: string; url?: string | undefined; icon_url?: string | undefined; } | undefined; }[] | undefined; }, { operation: "edit_message"; channel_id: string; message_id: string; credentials?: Partial> | undefined; content?: string | undefined; embeds?: { description?: string | undefined; title?: string | undefined; image?: { url: string; } | undefined; url?: string | undefined; fields?: { value: string; name: string; inline?: boolean | undefined; }[] | undefined; color?: number | undefined; footer?: { text: string; icon_url?: string | undefined; } | undefined; timestamp?: string | undefined; thumbnail?: { url: string; } | undefined; author?: { name: string; url?: string | undefined; icon_url?: string | undefined; } | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; channel_id: z.ZodString; message_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_message"; channel_id: string; message_id: string; credentials?: Partial> | undefined; }, { operation: "delete_message"; channel_id: string; message_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"pin_message">; channel_id: z.ZodString; message_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "pin_message"; channel_id: string; message_id: string; credentials?: Partial> | undefined; }, { operation: "pin_message"; channel_id: string; message_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; channel_id: z.ZodString; message_id: z.ZodString; emoji: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { emoji: string; operation: "add_reaction"; channel_id: string; message_id: string; credentials?: Partial> | undefined; }, { emoji: string; operation: "add_reaction"; channel_id: string; message_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; guild_id: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_channels"; credentials?: Partial> | undefined; guild_id?: string | undefined; }, { operation: "list_channels"; credentials?: Partial> | undefined; guild_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_channel">; guild_id: z.ZodOptional; name: z.ZodString; type: z.ZodDefault>>; topic: z.ZodOptional; parent_id: z.ZodOptional; nsfw: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { type: "text" | "category" | "voice" | "announcement" | "forum"; name: string; operation: "create_channel"; credentials?: Partial> | undefined; topic?: string | undefined; guild_id?: string | undefined; parent_id?: string | undefined; nsfw?: boolean | undefined; }, { name: string; operation: "create_channel"; type?: "text" | "category" | "voice" | "announcement" | "forum" | undefined; credentials?: Partial> | undefined; topic?: string | undefined; guild_id?: string | undefined; parent_id?: string | undefined; nsfw?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_channel">; channel_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_channel"; channel_id: string; credentials?: Partial> | undefined; }, { operation: "delete_channel"; channel_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_thread">; channel_id: z.ZodString; name: z.ZodString; message_id: z.ZodOptional; auto_archive_duration: z.ZodDefault>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "create_thread"; channel_id: string; auto_archive_duration: "60" | "1440" | "4320" | "10080"; credentials?: Partial> | undefined; message_id?: string | undefined; }, { name: string; operation: "create_thread"; channel_id: string; credentials?: Partial> | undefined; message_id?: string | undefined; auto_archive_duration?: "60" | "1440" | "4320" | "10080" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_threads">; guild_id: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_threads"; credentials?: Partial> | undefined; guild_id?: string | undefined; }, { operation: "list_threads"; credentials?: Partial> | undefined; guild_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_members">; guild_id: z.ZodOptional; limit: z.ZodDefault>; after: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_members"; limit: number; credentials?: Partial> | undefined; after?: string | undefined; guild_id?: string | undefined; }, { operation: "list_members"; credentials?: Partial> | undefined; limit?: number | undefined; after?: string | undefined; guild_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_guild">; guild_id: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_guild"; credentials?: Partial> | undefined; guild_id?: string | undefined; }, { operation: "get_guild"; credentials?: Partial> | undefined; guild_id?: string | undefined; }>]>; export declare const DiscordResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; success: z.ZodBoolean; message: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "send_message"; message?: Record | undefined; }, { error: string; success: boolean; operation: "send_message"; message?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_messages">; success: z.ZodBoolean; messages: z.ZodOptional, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_messages"; messages?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_messages"; messages?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"edit_message">; success: z.ZodBoolean; message: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "edit_message"; message?: Record | undefined; }, { error: string; success: boolean; operation: "edit_message"; message?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_message"; }, { error: string; success: boolean; operation: "delete_message"; }>, z.ZodObject<{ operation: z.ZodLiteral<"pin_message">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "pin_message"; }, { error: string; success: boolean; operation: "pin_message"; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_reaction"; }, { error: string; success: boolean; operation: "add_reaction"; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; success: z.ZodBoolean; channels: z.ZodOptional, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_channels"; channels?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_channels"; channels?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_channel">; success: z.ZodBoolean; channel: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_channel"; channel?: Record | undefined; }, { error: string; success: boolean; operation: "create_channel"; channel?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_channel">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_channel"; }, { error: string; success: boolean; operation: "delete_channel"; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_thread">; success: z.ZodBoolean; thread: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_thread"; thread?: Record | undefined; }, { error: string; success: boolean; operation: "create_thread"; thread?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_threads">; success: z.ZodBoolean; threads: z.ZodOptional, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_threads"; threads?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_threads"; threads?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_members">; success: z.ZodBoolean; members: z.ZodOptional, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_members"; members?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_members"; members?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_guild">; success: z.ZodBoolean; guild: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_guild"; guild?: Record | undefined; }, { error: string; success: boolean; operation: "get_guild"; guild?: Record | undefined; }>]>; export type DiscordParamsInput = z.input; export type DiscordParams = z.output; export type DiscordResult = z.output; //# sourceMappingURL=discord.schema.d.ts.map