import { z } from 'zod'; import { ServiceBubble } from '../../../types/service-bubble-class.js'; import type { BubbleContext } from '../../../types/bubble.js'; import { CredentialType } from '@bubblelab/shared-schemas'; declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; channel: z.ZodString; text: z.ZodString; username: z.ZodOptional; icon_emoji: z.ZodOptional; icon_url: z.ZodOptional; attachments: z.ZodOptional; pretext: z.ZodOptional; author_name: z.ZodOptional; author_link: z.ZodOptional; author_icon: z.ZodOptional; title: z.ZodOptional; title_link: z.ZodOptional; text: z.ZodOptional; fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional; thumb_url: z.ZodOptional; footer: z.ZodOptional; footer_icon: z.ZodOptional; ts: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }, { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }>, "many">>; blocks: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; thread_ts: z.ZodOptional; reply_broadcast: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; unfurl_links: z.ZodDefault>; unfurl_media: z.ZodDefault>; as_user: z.ZodDefault>; footer_mode: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { text: string; operation: "send_message"; channel: string; reply_broadcast: boolean; unfurl_links: boolean; unfurl_media: boolean; as_user: boolean; footer_mode: "never" | "auto" | "always"; credentials?: Partial> | undefined; username?: string | undefined; icon_emoji?: string | undefined; icon_url?: string | undefined; attachments?: { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }[] | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "send_message"; channel: string; credentials?: Partial> | undefined; username?: string | undefined; icon_emoji?: string | undefined; icon_url?: string | undefined; attachments?: { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }[] | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; reply_broadcast?: boolean | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; as_user?: boolean | undefined; footer_mode?: "never" | "auto" | "always" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; types: z.ZodDefault, "many">>>; exclude_archived: z.ZodDefault>; limit: z.ZodDefault>; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { types: ("public_channel" | "private_channel" | "mpim" | "im")[]; operation: "list_channels"; exclude_archived: boolean; limit: number; credentials?: Partial> | undefined; cursor?: string | undefined; }, { operation: "list_channels"; types?: ("public_channel" | "private_channel" | "mpim" | "im")[] | undefined; credentials?: Partial> | undefined; exclude_archived?: boolean | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_channel_info">; channel: z.ZodString; include_locale: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_channel_info"; channel: string; include_locale: boolean; credentials?: Partial> | undefined; }, { operation: "get_channel_info"; channel: string; credentials?: Partial> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_info">; user: z.ZodString; include_locale: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { user: string; operation: "get_user_info"; include_locale: boolean; credentials?: Partial> | undefined; }, { user: string; operation: "get_user_info"; credentials?: Partial> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; limit: z.ZodDefault>; cursor: z.ZodOptional; include_locale: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; limit: number; include_locale: boolean; credentials?: Partial> | undefined; cursor?: string | undefined; }, { operation: "list_users"; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_conversation_history">; channel: z.ZodString; latest: z.ZodOptional; oldest: z.ZodOptional; inclusive: z.ZodDefault>; limit: z.ZodDefault>; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_conversation_history"; channel: string; limit: number; credentials?: Partial> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_conversation_history"; channel: string; inclusive?: boolean | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_thread_replies">; channel: z.ZodString; ts: z.ZodString; latest: z.ZodOptional; oldest: z.ZodOptional; inclusive: z.ZodDefault>; limit: z.ZodDefault>; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; ts: string; operation: "get_thread_replies"; channel: string; limit: number; credentials?: Partial> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { ts: string; operation: "get_thread_replies"; channel: string; inclusive?: boolean | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_message">; channel: z.ZodString; ts: z.ZodString; text: z.ZodOptional; attachments: z.ZodOptional; pretext: z.ZodOptional; author_name: z.ZodOptional; author_link: z.ZodOptional; author_icon: z.ZodOptional; title: z.ZodOptional; title_link: z.ZodOptional; text: z.ZodOptional; fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional; thumb_url: z.ZodOptional; footer: z.ZodOptional; footer_icon: z.ZodOptional; ts: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }, { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }>, "many">>; blocks: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { ts: string; operation: "update_message"; channel: string; as_user: boolean; credentials?: Partial> | undefined; text?: string | undefined; attachments?: { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }[] | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { ts: string; operation: "update_message"; channel: string; credentials?: Partial> | undefined; text?: string | undefined; attachments?: { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }[] | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; channel: z.ZodString; ts: z.ZodString; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { ts: string; operation: "delete_message"; channel: string; as_user: boolean; credentials?: Partial> | undefined; }, { ts: string; operation: "delete_message"; channel: string; credentials?: Partial> | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "add_reaction"; channel: string; as_user: boolean; timestamp: string; credentials?: Partial> | undefined; }, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial> | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "remove_reaction"; channel: string; as_user: boolean; timestamp: string; credentials?: Partial> | undefined; }, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial> | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"join_channel">; channel: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "join_channel"; channel: string; credentials?: Partial> | undefined; }, { operation: "join_channel"; channel: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_file">; channel: z.ZodString; file_path: z.ZodOptional; content: z.ZodOptional; filename: z.ZodOptional; title: z.ZodOptional; initial_comment: z.ZodOptional; thread_ts: z.ZodOptional; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "upload_file"; channel: string; as_user: boolean; title?: string | undefined; credentials?: Partial> | undefined; content?: string | undefined; thread_ts?: string | undefined; file_path?: string | undefined; filename?: string | undefined; initial_comment?: string | undefined; }, { operation: "upload_file"; channel: string; title?: string | undefined; credentials?: Partial> | undefined; content?: string | undefined; thread_ts?: string | undefined; as_user?: boolean | undefined; file_path?: string | undefined; filename?: string | undefined; initial_comment?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"schedule_message">; channel: z.ZodString; text: z.ZodString; post_at: z.ZodNumber; username: z.ZodOptional; icon_emoji: z.ZodOptional; icon_url: z.ZodOptional; thread_ts: z.ZodOptional; blocks: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; unfurl_links: z.ZodDefault>; unfurl_media: z.ZodDefault>; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { text: string; operation: "schedule_message"; channel: string; unfurl_links: boolean; unfurl_media: boolean; as_user: boolean; post_at: number; credentials?: Partial> | undefined; username?: string | undefined; icon_emoji?: string | undefined; icon_url?: string | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "schedule_message"; channel: string; post_at: number; credentials?: Partial> | undefined; username?: string | undefined; icon_emoji?: string | undefined; icon_url?: string | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_info">; file_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_file_info"; file_id: string; credentials?: Partial> | undefined; }, { operation: "get_file_info"; file_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"download_file">; file_url: z.ZodOptional; file_id: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "download_file"; credentials?: Partial> | undefined; file_id?: string | undefined; file_url?: string | undefined; }, { operation: "download_file"; credentials?: Partial> | undefined; file_id?: string | undefined; file_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_messages">; query: z.ZodString; count: z.ZodOptional; sort: z.ZodOptional>; page: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { query: string; operation: "search_messages"; sort?: "timestamp" | "score" | undefined; credentials?: Partial> | undefined; count?: number | undefined; page?: number | undefined; }, { query: string; operation: "search_messages"; sort?: "timestamp" | "score" | undefined; credentials?: Partial> | undefined; count?: number | undefined; page?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_dms">; types: z.ZodOptional>; limit: z.ZodOptional; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_dms"; types?: "mpim" | "im" | "im,mpim" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; }, { operation: "list_dms"; types?: "mpim" | "im" | "im,mpim" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"read_dm_history">; channel: z.ZodString; limit: z.ZodOptional; oldest: z.ZodOptional; latest: z.ZodOptional; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "read_dm_history"; channel: string; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "read_dm_history"; channel: string; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }>]>; declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; ok: z.ZodBoolean; channel: z.ZodOptional; ts: z.ZodOptional; message: z.ZodOptional; user: z.ZodOptional; bot_id: z.ZodOptional; bot_profile: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional; text: z.ZodOptional; thread_ts: z.ZodOptional; parent_user_id: z.ZodOptional; reply_count: z.ZodOptional; reply_users_count: z.ZodOptional; latest_reply: z.ZodOptional; reply_users: z.ZodOptional>; is_locked: z.ZodOptional; subscribed: z.ZodOptional; attachments: z.ZodOptional>; blocks: z.ZodOptional>; reactions: z.ZodOptional; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; count: number; users: string[]; }, { name: string; count: number; users: string[]; }>, "many">>; files: z.ZodOptional; title: z.ZodOptional; mimetype: z.ZodOptional; filetype: z.ZodOptional; size: z.ZodOptional; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; } | undefined; ts?: string | undefined; channel?: string | undefined; }, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; } | undefined; ts?: string | undefined; channel?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; ok: z.ZodBoolean; channels: z.ZodOptional; is_group: z.ZodOptional; is_im: z.ZodOptional; is_mpim: z.ZodOptional; is_private: z.ZodOptional; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional; unlinked: z.ZodOptional; name_normalized: z.ZodOptional; is_shared: z.ZodOptional; is_ext_shared: z.ZodOptional; is_org_shared: z.ZodOptional; shared_team_ids: z.ZodOptional>; pending_shared: z.ZodOptional>; pending_connected_team_ids: z.ZodOptional>; is_pending_ext_shared: z.ZodOptional; is_member: z.ZodOptional; is_open: z.ZodOptional; topic: z.ZodOptional>; purpose: z.ZodOptional>; num_members: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }>, "many">>; response_metadata: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_channels"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; channels?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_channels"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; channels?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_channel_info">; ok: z.ZodBoolean; channel: z.ZodOptional; is_group: z.ZodOptional; is_im: z.ZodOptional; is_mpim: z.ZodOptional; is_private: z.ZodOptional; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional; unlinked: z.ZodOptional; name_normalized: z.ZodOptional; is_shared: z.ZodOptional; is_ext_shared: z.ZodOptional; is_org_shared: z.ZodOptional; shared_team_ids: z.ZodOptional>; pending_shared: z.ZodOptional>; pending_connected_team_ids: z.ZodOptional>; is_pending_ext_shared: z.ZodOptional; is_member: z.ZodOptional; is_open: z.ZodOptional; topic: z.ZodOptional>; purpose: z.ZodOptional>; num_members: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_channel_info"; ok: boolean; channel?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_channel_info"; ok: boolean; channel?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_info">; ok: z.ZodBoolean; user: z.ZodOptional; name: z.ZodString; deleted: z.ZodOptional; color: z.ZodOptional; real_name: z.ZodOptional; tz: z.ZodOptional; tz_label: z.ZodOptional; tz_offset: z.ZodOptional; profile: z.ZodOptional; phone: z.ZodOptional; skype: z.ZodOptional; real_name: z.ZodOptional; real_name_normalized: z.ZodOptional; display_name: z.ZodOptional; display_name_normalized: z.ZodOptional; fields: z.ZodOptional>; status_text: z.ZodOptional; status_emoji: z.ZodOptional; status_expiration: z.ZodOptional; avatar_hash: z.ZodOptional; image_original: z.ZodOptional; is_custom_image: z.ZodOptional; email: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; image_24: z.ZodOptional; image_32: z.ZodOptional; image_48: z.ZodOptional; image_72: z.ZodOptional; image_192: z.ZodOptional; image_512: z.ZodOptional; image_1024: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; }, { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; }>>; is_admin: z.ZodOptional; is_owner: z.ZodOptional; is_primary_owner: z.ZodOptional; is_restricted: z.ZodOptional; is_ultra_restricted: z.ZodOptional; is_bot: z.ZodOptional; is_app_user: z.ZodOptional; updated: z.ZodOptional; has_2fa: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }, { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_user_info"; ok: boolean; user?: { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_user_info"; ok: boolean; user?: { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; ok: z.ZodBoolean; members: z.ZodOptional; name: z.ZodString; deleted: z.ZodOptional; color: z.ZodOptional; real_name: z.ZodOptional; tz: z.ZodOptional; tz_label: z.ZodOptional; tz_offset: z.ZodOptional; profile: z.ZodOptional; phone: z.ZodOptional; skype: z.ZodOptional; real_name: z.ZodOptional; real_name_normalized: z.ZodOptional; display_name: z.ZodOptional; display_name_normalized: z.ZodOptional; fields: z.ZodOptional>; status_text: z.ZodOptional; status_emoji: z.ZodOptional; status_expiration: z.ZodOptional; avatar_hash: z.ZodOptional; image_original: z.ZodOptional; is_custom_image: z.ZodOptional; email: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; image_24: z.ZodOptional; image_32: z.ZodOptional; image_48: z.ZodOptional; image_72: z.ZodOptional; image_192: z.ZodOptional; image_512: z.ZodOptional; image_1024: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; }, { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; }>>; is_admin: z.ZodOptional; is_owner: z.ZodOptional; is_primary_owner: z.ZodOptional; is_restricted: z.ZodOptional; is_ultra_restricted: z.ZodOptional; is_bot: z.ZodOptional; is_app_user: z.ZodOptional; updated: z.ZodOptional; has_2fa: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }, { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }>, "many">>; response_metadata: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_users"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; members?: { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_users"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; members?: { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_conversation_history">; ok: z.ZodBoolean; messages: z.ZodOptional; user: z.ZodOptional; bot_id: z.ZodOptional; bot_profile: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional; text: z.ZodOptional; thread_ts: z.ZodOptional; parent_user_id: z.ZodOptional; reply_count: z.ZodOptional; reply_users_count: z.ZodOptional; latest_reply: z.ZodOptional; reply_users: z.ZodOptional>; is_locked: z.ZodOptional; subscribed: z.ZodOptional; attachments: z.ZodOptional>; blocks: z.ZodOptional>; reactions: z.ZodOptional; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; count: number; users: string[]; }, { name: string; count: number; users: string[]; }>, "many">>; files: z.ZodOptional; title: z.ZodOptional; mimetype: z.ZodOptional; filetype: z.ZodOptional; size: z.ZodOptional; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }>, "many">>; has_more: z.ZodOptional; response_metadata: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; messages?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }[] | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; messages?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }[] | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_thread_replies">; ok: z.ZodBoolean; messages: z.ZodOptional; user: z.ZodOptional; bot_id: z.ZodOptional; bot_profile: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional; text: z.ZodOptional; thread_ts: z.ZodOptional; parent_user_id: z.ZodOptional; reply_count: z.ZodOptional; reply_users_count: z.ZodOptional; latest_reply: z.ZodOptional; reply_users: z.ZodOptional>; is_locked: z.ZodOptional; subscribed: z.ZodOptional; attachments: z.ZodOptional>; blocks: z.ZodOptional>; reactions: z.ZodOptional; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; count: number; users: string[]; }, { name: string; count: number; users: string[]; }>, "many">>; files: z.ZodOptional; title: z.ZodOptional; mimetype: z.ZodOptional; filetype: z.ZodOptional; size: z.ZodOptional; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }>, "many">>; has_more: z.ZodOptional; response_metadata: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; messages?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }[] | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; messages?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }[] | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_message">; ok: z.ZodBoolean; channel: z.ZodOptional; ts: z.ZodOptional; text: z.ZodOptional; message: z.ZodOptional; user: z.ZodOptional; bot_id: z.ZodOptional; bot_profile: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional; text: z.ZodOptional; thread_ts: z.ZodOptional; parent_user_id: z.ZodOptional; reply_count: z.ZodOptional; reply_users_count: z.ZodOptional; latest_reply: z.ZodOptional; reply_users: z.ZodOptional>; is_locked: z.ZodOptional; subscribed: z.ZodOptional; attachments: z.ZodOptional>; blocks: z.ZodOptional>; reactions: z.ZodOptional; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; count: number; users: string[]; }, { name: string; count: number; users: string[]; }>, "many">>; files: z.ZodOptional; title: z.ZodOptional; mimetype: z.ZodOptional; filetype: z.ZodOptional; size: z.ZodOptional; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_message"; ok: boolean; message?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; } | undefined; text?: string | undefined; ts?: string | undefined; channel?: string | undefined; }, { error: string; success: boolean; operation: "update_message"; ok: boolean; message?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; } | undefined; text?: string | undefined; ts?: string | undefined; channel?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; ok: z.ZodBoolean; channel: z.ZodOptional; ts: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_message"; ok: boolean; ts?: string | undefined; channel?: string | undefined; }, { error: string; success: boolean; operation: "delete_message"; ok: boolean; ts?: string | undefined; channel?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; ok: z.ZodBoolean; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_reaction"; ok: boolean; }, { error: string; success: boolean; operation: "add_reaction"; ok: boolean; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_reaction">; ok: z.ZodBoolean; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "remove_reaction"; ok: boolean; }, { error: string; success: boolean; operation: "remove_reaction"; ok: boolean; }>, z.ZodObject<{ operation: z.ZodLiteral<"join_channel">; ok: z.ZodBoolean; channel: z.ZodOptional; is_group: z.ZodOptional; is_im: z.ZodOptional; is_mpim: z.ZodOptional; is_private: z.ZodOptional; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional; unlinked: z.ZodOptional; name_normalized: z.ZodOptional; is_shared: z.ZodOptional; is_ext_shared: z.ZodOptional; is_org_shared: z.ZodOptional; shared_team_ids: z.ZodOptional>; pending_shared: z.ZodOptional>; pending_connected_team_ids: z.ZodOptional>; is_pending_ext_shared: z.ZodOptional; is_member: z.ZodOptional; is_open: z.ZodOptional; topic: z.ZodOptional>; purpose: z.ZodOptional>; num_members: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }>>; already_in_channel: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "join_channel"; ok: boolean; channel?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; } | undefined; already_in_channel?: boolean | undefined; }, { error: string; success: boolean; operation: "join_channel"; ok: boolean; channel?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; } | undefined; already_in_channel?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_file">; ok: z.ZodBoolean; file: z.ZodOptional; mimetype: z.ZodString; filetype: z.ZodString; pretty_type: z.ZodString; user: z.ZodString; editable: z.ZodBoolean; size: z.ZodNumber; mode: z.ZodString; is_external: z.ZodBoolean; external_type: z.ZodString; is_public: z.ZodBoolean; public_url_shared: z.ZodBoolean; display_as_bot: z.ZodBoolean; username: z.ZodString; url_private: z.ZodString; url_private_download: z.ZodString; permalink: z.ZodString; permalink_public: z.ZodOptional; shares: z.ZodOptional; reply_users_count: z.ZodNumber; reply_count: z.ZodNumber; ts: z.ZodString; channel_name: z.ZodString; team_id: z.ZodString; }, "strip", z.ZodTypeAny, { ts: string; team_id: string; reply_count: number; reply_users_count: number; reply_users: string[]; channel_name: string; }, { ts: string; team_id: string; reply_count: number; reply_users_count: number; reply_users: string[]; channel_name: string; }>, "many">>>; private: z.ZodOptional; reply_users_count: z.ZodNumber; reply_count: z.ZodNumber; ts: z.ZodString; channel_name: z.ZodString; team_id: z.ZodString; }, "strip", z.ZodTypeAny, { ts: string; team_id: string; reply_count: number; reply_users_count: number; reply_users: string[]; channel_name: string; }, { ts: string; team_id: string; reply_count: number; reply_users_count: number; reply_users: string[]; channel_name: string; }>, "many">>>; }, "strip", z.ZodTypeAny, { public?: Record | undefined; private?: Record | undefined; }, { public?: Record | undefined; private?: Record | undefined; }>>; channels: z.ZodOptional>; groups: z.ZodOptional>; ims: z.ZodOptional>; has_rich_preview: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; user: string; username: string; timestamp: number; created: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; pretty_type: string; editable: boolean; mode: string; is_external: boolean; external_type: string; is_public: boolean; public_url_shared: boolean; display_as_bot: boolean; title?: string | undefined; channels?: string[] | undefined; permalink_public?: string | undefined; shares?: { public?: Record | undefined; private?: Record | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; }, { name: string; id: string; user: string; username: string; timestamp: number; created: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; pretty_type: string; editable: boolean; mode: string; is_external: boolean; external_type: string; is_public: boolean; public_url_shared: boolean; display_as_bot: boolean; title?: string | undefined; channels?: string[] | undefined; permalink_public?: string | undefined; shares?: { public?: Record | undefined; private?: Record | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "upload_file"; ok: boolean; file?: { name: string; id: string; user: string; username: string; timestamp: number; created: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; pretty_type: string; editable: boolean; mode: string; is_external: boolean; external_type: string; is_public: boolean; public_url_shared: boolean; display_as_bot: boolean; title?: string | undefined; channels?: string[] | undefined; permalink_public?: string | undefined; shares?: { public?: Record | undefined; private?: Record | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "upload_file"; ok: boolean; file?: { name: string; id: string; user: string; username: string; timestamp: number; created: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; pretty_type: string; editable: boolean; mode: string; is_external: boolean; external_type: string; is_public: boolean; public_url_shared: boolean; display_as_bot: boolean; title?: string | undefined; channels?: string[] | undefined; permalink_public?: string | undefined; shares?: { public?: Record | undefined; private?: Record | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"schedule_message">; ok: z.ZodBoolean; channel: z.ZodOptional; scheduled_message_id: z.ZodOptional; post_at: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "schedule_message"; ok: boolean; channel?: string | undefined; post_at?: number | undefined; scheduled_message_id?: string | undefined; }, { error: string; success: boolean; operation: "schedule_message"; ok: boolean; channel?: string | undefined; post_at?: number | undefined; scheduled_message_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_info">; ok: z.ZodBoolean; file: z.ZodOptional; mimetype: z.ZodString; filetype: z.ZodString; size: z.ZodNumber; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; mimetype: string; filetype: string; size: number; title?: string | undefined; user?: string | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { name: string; id: string; mimetype: string; filetype: string; size: number; title?: string | undefined; user?: string | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_file_info"; ok: boolean; file?: { name: string; id: string; mimetype: string; filetype: string; size: number; title?: string | undefined; user?: string | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_file_info"; ok: boolean; file?: { name: string; id: string; mimetype: string; filetype: string; size: number; title?: string | undefined; user?: string | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"download_file">; ok: z.ZodBoolean; content: z.ZodOptional; filename: z.ZodOptional; mimetype: z.ZodOptional; size: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "download_file"; ok: boolean; content?: string | undefined; filename?: string | undefined; mimetype?: string | undefined; size?: number | undefined; }, { error: string; success: boolean; operation: "download_file"; ok: boolean; content?: string | undefined; filename?: string | undefined; mimetype?: string | undefined; size?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_messages">; ok: z.ZodBoolean; matches: z.ZodOptional; channel_name: z.ZodOptional; user_id: z.ZodOptional; username: z.ZodOptional; text: z.ZodString; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; ts: string; username?: string | undefined; permalink?: string | undefined; channel_name?: string | undefined; channel_id?: string | undefined; user_id?: string | undefined; }, { text: string; ts: string; username?: string | undefined; permalink?: string | undefined; channel_name?: string | undefined; channel_id?: string | undefined; user_id?: string | undefined; }>, "many">>; pagination: z.ZodOptional; total_count: z.ZodOptional; page_count: z.ZodOptional; }, "strip", z.ZodTypeAny, { page?: number | undefined; total_count?: number | undefined; page_count?: number | undefined; }, { page?: number | undefined; total_count?: number | undefined; page_count?: number | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search_messages"; ok: boolean; code?: string | undefined; matches?: { text: string; ts: string; username?: string | undefined; permalink?: string | undefined; channel_name?: string | undefined; channel_id?: string | undefined; user_id?: string | undefined; }[] | undefined; pagination?: { page?: number | undefined; total_count?: number | undefined; page_count?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "search_messages"; ok: boolean; code?: string | undefined; matches?: { text: string; ts: string; username?: string | undefined; permalink?: string | undefined; channel_name?: string | undefined; channel_id?: string | undefined; user_id?: string | undefined; }[] | undefined; pagination?: { page?: number | undefined; total_count?: number | undefined; page_count?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_dms">; ok: z.ZodBoolean; channels: z.ZodOptional; is_mpim: z.ZodOptional; user: z.ZodOptional; num_members: z.ZodOptional; is_archived: z.ZodOptional; created: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; user?: string | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; created?: number | undefined; is_archived?: boolean | undefined; num_members?: number | undefined; }, { id: string; user?: string | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; created?: number | undefined; is_archived?: boolean | undefined; num_members?: number | undefined; }>, "many">>; next_cursor: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_dms"; ok: boolean; code?: string | undefined; channels?: { id: string; user?: string | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; created?: number | undefined; is_archived?: boolean | undefined; num_members?: number | undefined; }[] | undefined; next_cursor?: string | undefined; }, { error: string; success: boolean; operation: "list_dms"; ok: boolean; code?: string | undefined; channels?: { id: string; user?: string | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; created?: number | undefined; is_archived?: boolean | undefined; num_members?: number | undefined; }[] | undefined; next_cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"read_dm_history">; ok: z.ZodBoolean; messages: z.ZodOptional; text: z.ZodString; thread_ts: z.ZodOptional; reply_count: z.ZodOptional; type: z.ZodOptional; subtype: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; ts: string; type?: string | undefined; user?: string | undefined; thread_ts?: string | undefined; reply_count?: number | undefined; subtype?: string | undefined; }, { text: string; ts: string; type?: string | undefined; user?: string | undefined; thread_ts?: string | undefined; reply_count?: number | undefined; subtype?: string | undefined; }>, "many">>; has_more: z.ZodOptional; next_cursor: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "read_dm_history"; ok: boolean; code?: string | undefined; messages?: { text: string; ts: string; type?: string | undefined; user?: string | undefined; thread_ts?: string | undefined; reply_count?: number | undefined; subtype?: string | undefined; }[] | undefined; next_cursor?: string | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "read_dm_history"; ok: boolean; code?: string | undefined; messages?: { text: string; ts: string; type?: string | undefined; user?: string | undefined; thread_ts?: string | undefined; reply_count?: number | undefined; subtype?: string | undefined; }[] | undefined; next_cursor?: string | undefined; has_more?: boolean | undefined; }>]>; type SlackResult = z.output; type SlackParams = z.input; export type SlackOperationResult = Extract; export declare class SlackBubble extends ServiceBubble> { testCredential(): Promise; static readonly type: "service"; static readonly service = "slack"; static readonly authType: "apikey"; static readonly bubbleName = "slack"; static readonly schema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; channel: z.ZodString; text: z.ZodString; username: z.ZodOptional; icon_emoji: z.ZodOptional; icon_url: z.ZodOptional; attachments: z.ZodOptional; pretext: z.ZodOptional; author_name: z.ZodOptional; author_link: z.ZodOptional; author_icon: z.ZodOptional; title: z.ZodOptional; title_link: z.ZodOptional; text: z.ZodOptional; fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional; thumb_url: z.ZodOptional; footer: z.ZodOptional; footer_icon: z.ZodOptional; ts: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }, { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }>, "many">>; blocks: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; thread_ts: z.ZodOptional; reply_broadcast: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; unfurl_links: z.ZodDefault>; unfurl_media: z.ZodDefault>; as_user: z.ZodDefault>; footer_mode: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { text: string; operation: "send_message"; channel: string; reply_broadcast: boolean; unfurl_links: boolean; unfurl_media: boolean; as_user: boolean; footer_mode: "never" | "auto" | "always"; credentials?: Partial> | undefined; username?: string | undefined; icon_emoji?: string | undefined; icon_url?: string | undefined; attachments?: { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }[] | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "send_message"; channel: string; credentials?: Partial> | undefined; username?: string | undefined; icon_emoji?: string | undefined; icon_url?: string | undefined; attachments?: { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }[] | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; reply_broadcast?: boolean | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; as_user?: boolean | undefined; footer_mode?: "never" | "auto" | "always" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; types: z.ZodDefault, "many">>>; exclude_archived: z.ZodDefault>; limit: z.ZodDefault>; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { types: ("public_channel" | "private_channel" | "mpim" | "im")[]; operation: "list_channels"; exclude_archived: boolean; limit: number; credentials?: Partial> | undefined; cursor?: string | undefined; }, { operation: "list_channels"; types?: ("public_channel" | "private_channel" | "mpim" | "im")[] | undefined; credentials?: Partial> | undefined; exclude_archived?: boolean | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_channel_info">; channel: z.ZodString; include_locale: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_channel_info"; channel: string; include_locale: boolean; credentials?: Partial> | undefined; }, { operation: "get_channel_info"; channel: string; credentials?: Partial> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_info">; user: z.ZodString; include_locale: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { user: string; operation: "get_user_info"; include_locale: boolean; credentials?: Partial> | undefined; }, { user: string; operation: "get_user_info"; credentials?: Partial> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; limit: z.ZodDefault>; cursor: z.ZodOptional; include_locale: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; limit: number; include_locale: boolean; credentials?: Partial> | undefined; cursor?: string | undefined; }, { operation: "list_users"; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_conversation_history">; channel: z.ZodString; latest: z.ZodOptional; oldest: z.ZodOptional; inclusive: z.ZodDefault>; limit: z.ZodDefault>; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_conversation_history"; channel: string; limit: number; credentials?: Partial> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_conversation_history"; channel: string; inclusive?: boolean | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_thread_replies">; channel: z.ZodString; ts: z.ZodString; latest: z.ZodOptional; oldest: z.ZodOptional; inclusive: z.ZodDefault>; limit: z.ZodDefault>; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; ts: string; operation: "get_thread_replies"; channel: string; limit: number; credentials?: Partial> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { ts: string; operation: "get_thread_replies"; channel: string; inclusive?: boolean | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_message">; channel: z.ZodString; ts: z.ZodString; text: z.ZodOptional; attachments: z.ZodOptional; pretext: z.ZodOptional; author_name: z.ZodOptional; author_link: z.ZodOptional; author_icon: z.ZodOptional; title: z.ZodOptional; title_link: z.ZodOptional; text: z.ZodOptional; fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional; thumb_url: z.ZodOptional; footer: z.ZodOptional; footer_icon: z.ZodOptional; ts: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }, { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }>, "many">>; blocks: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { ts: string; operation: "update_message"; channel: string; as_user: boolean; credentials?: Partial> | undefined; text?: string | undefined; attachments?: { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }[] | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { ts: string; operation: "update_message"; channel: string; credentials?: Partial> | undefined; text?: string | undefined; attachments?: { title?: string | undefined; text?: string | undefined; image_url?: string | undefined; fields?: { value: string; title: string; short?: boolean | undefined; }[] | undefined; color?: string | undefined; pretext?: string | undefined; author_name?: string | undefined; author_link?: string | undefined; author_icon?: string | undefined; title_link?: string | undefined; thumb_url?: string | undefined; footer?: string | undefined; footer_icon?: string | undefined; ts?: number | undefined; }[] | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; channel: z.ZodString; ts: z.ZodString; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { ts: string; operation: "delete_message"; channel: string; as_user: boolean; credentials?: Partial> | undefined; }, { ts: string; operation: "delete_message"; channel: string; credentials?: Partial> | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "add_reaction"; channel: string; as_user: boolean; timestamp: string; credentials?: Partial> | undefined; }, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial> | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "remove_reaction"; channel: string; as_user: boolean; timestamp: string; credentials?: Partial> | undefined; }, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial> | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"join_channel">; channel: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "join_channel"; channel: string; credentials?: Partial> | undefined; }, { operation: "join_channel"; channel: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_file">; channel: z.ZodString; file_path: z.ZodOptional; content: z.ZodOptional; filename: z.ZodOptional; title: z.ZodOptional; initial_comment: z.ZodOptional; thread_ts: z.ZodOptional; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "upload_file"; channel: string; as_user: boolean; title?: string | undefined; credentials?: Partial> | undefined; content?: string | undefined; thread_ts?: string | undefined; file_path?: string | undefined; filename?: string | undefined; initial_comment?: string | undefined; }, { operation: "upload_file"; channel: string; title?: string | undefined; credentials?: Partial> | undefined; content?: string | undefined; thread_ts?: string | undefined; as_user?: boolean | undefined; file_path?: string | undefined; filename?: string | undefined; initial_comment?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"schedule_message">; channel: z.ZodString; text: z.ZodString; post_at: z.ZodNumber; username: z.ZodOptional; icon_emoji: z.ZodOptional; icon_url: z.ZodOptional; thread_ts: z.ZodOptional; blocks: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; unfurl_links: z.ZodDefault>; unfurl_media: z.ZodDefault>; as_user: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { text: string; operation: "schedule_message"; channel: string; unfurl_links: boolean; unfurl_media: boolean; as_user: boolean; post_at: number; credentials?: Partial> | undefined; username?: string | undefined; icon_emoji?: string | undefined; icon_url?: string | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "schedule_message"; channel: string; post_at: number; credentials?: Partial> | undefined; username?: string | undefined; icon_emoji?: string | undefined; icon_url?: string | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional; text: z.ZodString; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }, { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }>>; elements: z.ZodOptional; text: z.ZodOptional; image_url: z.ZodOptional; alt_text: z.ZodOptional; emoji: z.ZodOptional; verbatim: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; text?: string | undefined; image_url?: string | undefined; emoji?: boolean | undefined; alt_text?: string | undefined; verbatim?: boolean | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; as_user?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_info">; file_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_file_info"; file_id: string; credentials?: Partial> | undefined; }, { operation: "get_file_info"; file_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"download_file">; file_url: z.ZodOptional; file_id: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "download_file"; credentials?: Partial> | undefined; file_id?: string | undefined; file_url?: string | undefined; }, { operation: "download_file"; credentials?: Partial> | undefined; file_id?: string | undefined; file_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_messages">; query: z.ZodString; count: z.ZodOptional; sort: z.ZodOptional>; page: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { query: string; operation: "search_messages"; sort?: "timestamp" | "score" | undefined; credentials?: Partial> | undefined; count?: number | undefined; page?: number | undefined; }, { query: string; operation: "search_messages"; sort?: "timestamp" | "score" | undefined; credentials?: Partial> | undefined; count?: number | undefined; page?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_dms">; types: z.ZodOptional>; limit: z.ZodOptional; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_dms"; types?: "mpim" | "im" | "im,mpim" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; }, { operation: "list_dms"; types?: "mpim" | "im" | "im,mpim" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"read_dm_history">; channel: z.ZodString; limit: z.ZodOptional; oldest: z.ZodOptional; latest: z.ZodOptional; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "read_dm_history"; channel: string; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "read_dm_history"; channel: string; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }>]>; static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; ok: z.ZodBoolean; channel: z.ZodOptional; ts: z.ZodOptional; message: z.ZodOptional; user: z.ZodOptional; bot_id: z.ZodOptional; bot_profile: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional; text: z.ZodOptional; thread_ts: z.ZodOptional; parent_user_id: z.ZodOptional; reply_count: z.ZodOptional; reply_users_count: z.ZodOptional; latest_reply: z.ZodOptional; reply_users: z.ZodOptional>; is_locked: z.ZodOptional; subscribed: z.ZodOptional; attachments: z.ZodOptional>; blocks: z.ZodOptional>; reactions: z.ZodOptional; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; count: number; users: string[]; }, { name: string; count: number; users: string[]; }>, "many">>; files: z.ZodOptional; title: z.ZodOptional; mimetype: z.ZodOptional; filetype: z.ZodOptional; size: z.ZodOptional; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; } | undefined; ts?: string | undefined; channel?: string | undefined; }, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; } | undefined; ts?: string | undefined; channel?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; ok: z.ZodBoolean; channels: z.ZodOptional; is_group: z.ZodOptional; is_im: z.ZodOptional; is_mpim: z.ZodOptional; is_private: z.ZodOptional; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional; unlinked: z.ZodOptional; name_normalized: z.ZodOptional; is_shared: z.ZodOptional; is_ext_shared: z.ZodOptional; is_org_shared: z.ZodOptional; shared_team_ids: z.ZodOptional>; pending_shared: z.ZodOptional>; pending_connected_team_ids: z.ZodOptional>; is_pending_ext_shared: z.ZodOptional; is_member: z.ZodOptional; is_open: z.ZodOptional; topic: z.ZodOptional>; purpose: z.ZodOptional>; num_members: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }>, "many">>; response_metadata: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_channels"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; channels?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_channels"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; channels?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_channel_info">; ok: z.ZodBoolean; channel: z.ZodOptional; is_group: z.ZodOptional; is_im: z.ZodOptional; is_mpim: z.ZodOptional; is_private: z.ZodOptional; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional; unlinked: z.ZodOptional; name_normalized: z.ZodOptional; is_shared: z.ZodOptional; is_ext_shared: z.ZodOptional; is_org_shared: z.ZodOptional; shared_team_ids: z.ZodOptional>; pending_shared: z.ZodOptional>; pending_connected_team_ids: z.ZodOptional>; is_pending_ext_shared: z.ZodOptional; is_member: z.ZodOptional; is_open: z.ZodOptional; topic: z.ZodOptional>; purpose: z.ZodOptional>; num_members: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_channel_info"; ok: boolean; channel?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_channel_info"; ok: boolean; channel?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_info">; ok: z.ZodBoolean; user: z.ZodOptional; name: z.ZodString; deleted: z.ZodOptional; color: z.ZodOptional; real_name: z.ZodOptional; tz: z.ZodOptional; tz_label: z.ZodOptional; tz_offset: z.ZodOptional; profile: z.ZodOptional; phone: z.ZodOptional; skype: z.ZodOptional; real_name: z.ZodOptional; real_name_normalized: z.ZodOptional; display_name: z.ZodOptional; display_name_normalized: z.ZodOptional; fields: z.ZodOptional>; status_text: z.ZodOptional; status_emoji: z.ZodOptional; status_expiration: z.ZodOptional; avatar_hash: z.ZodOptional; image_original: z.ZodOptional; is_custom_image: z.ZodOptional; email: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; image_24: z.ZodOptional; image_32: z.ZodOptional; image_48: z.ZodOptional; image_72: z.ZodOptional; image_192: z.ZodOptional; image_512: z.ZodOptional; image_1024: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; }, { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; }>>; is_admin: z.ZodOptional; is_owner: z.ZodOptional; is_primary_owner: z.ZodOptional; is_restricted: z.ZodOptional; is_ultra_restricted: z.ZodOptional; is_bot: z.ZodOptional; is_app_user: z.ZodOptional; updated: z.ZodOptional; has_2fa: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }, { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_user_info"; ok: boolean; user?: { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_user_info"; ok: boolean; user?: { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; ok: z.ZodBoolean; members: z.ZodOptional; name: z.ZodString; deleted: z.ZodOptional; color: z.ZodOptional; real_name: z.ZodOptional; tz: z.ZodOptional; tz_label: z.ZodOptional; tz_offset: z.ZodOptional; profile: z.ZodOptional; phone: z.ZodOptional; skype: z.ZodOptional; real_name: z.ZodOptional; real_name_normalized: z.ZodOptional; display_name: z.ZodOptional; display_name_normalized: z.ZodOptional; fields: z.ZodOptional>; status_text: z.ZodOptional; status_emoji: z.ZodOptional; status_expiration: z.ZodOptional; avatar_hash: z.ZodOptional; image_original: z.ZodOptional; is_custom_image: z.ZodOptional; email: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; image_24: z.ZodOptional; image_32: z.ZodOptional; image_48: z.ZodOptional; image_72: z.ZodOptional; image_192: z.ZodOptional; image_512: z.ZodOptional; image_1024: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; }, { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; }>>; is_admin: z.ZodOptional; is_owner: z.ZodOptional; is_primary_owner: z.ZodOptional; is_restricted: z.ZodOptional; is_ultra_restricted: z.ZodOptional; is_bot: z.ZodOptional; is_app_user: z.ZodOptional; updated: z.ZodOptional; has_2fa: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }, { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }>, "many">>; response_metadata: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_users"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; members?: { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_users"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; members?: { name: string; id: string; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record | undefined; real_name?: string | undefined; phone?: string | undefined; skype?: string | undefined; real_name_normalized?: string | undefined; display_name?: string | undefined; display_name_normalized?: string | undefined; status_text?: string | undefined; status_emoji?: string | undefined; status_expiration?: number | undefined; avatar_hash?: string | undefined; image_original?: string | undefined; is_custom_image?: boolean | undefined; first_name?: string | undefined; last_name?: string | undefined; image_24?: string | undefined; image_32?: string | undefined; image_48?: string | undefined; image_72?: string | undefined; image_192?: string | undefined; image_512?: string | undefined; image_1024?: string | undefined; } | undefined; color?: string | undefined; team_id?: string | undefined; deleted?: boolean | undefined; real_name?: string | undefined; tz?: string | undefined; tz_label?: string | undefined; tz_offset?: number | undefined; is_admin?: boolean | undefined; is_owner?: boolean | undefined; is_primary_owner?: boolean | undefined; is_restricted?: boolean | undefined; is_ultra_restricted?: boolean | undefined; is_bot?: boolean | undefined; is_app_user?: boolean | undefined; updated?: number | undefined; has_2fa?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_conversation_history">; ok: z.ZodBoolean; messages: z.ZodOptional; user: z.ZodOptional; bot_id: z.ZodOptional; bot_profile: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional; text: z.ZodOptional; thread_ts: z.ZodOptional; parent_user_id: z.ZodOptional; reply_count: z.ZodOptional; reply_users_count: z.ZodOptional; latest_reply: z.ZodOptional; reply_users: z.ZodOptional>; is_locked: z.ZodOptional; subscribed: z.ZodOptional; attachments: z.ZodOptional>; blocks: z.ZodOptional>; reactions: z.ZodOptional; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; count: number; users: string[]; }, { name: string; count: number; users: string[]; }>, "many">>; files: z.ZodOptional; title: z.ZodOptional; mimetype: z.ZodOptional; filetype: z.ZodOptional; size: z.ZodOptional; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }>, "many">>; has_more: z.ZodOptional; response_metadata: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; messages?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }[] | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; messages?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }[] | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_thread_replies">; ok: z.ZodBoolean; messages: z.ZodOptional; user: z.ZodOptional; bot_id: z.ZodOptional; bot_profile: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional; text: z.ZodOptional; thread_ts: z.ZodOptional; parent_user_id: z.ZodOptional; reply_count: z.ZodOptional; reply_users_count: z.ZodOptional; latest_reply: z.ZodOptional; reply_users: z.ZodOptional>; is_locked: z.ZodOptional; subscribed: z.ZodOptional; attachments: z.ZodOptional>; blocks: z.ZodOptional>; reactions: z.ZodOptional; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; count: number; users: string[]; }, { name: string; count: number; users: string[]; }>, "many">>; files: z.ZodOptional; title: z.ZodOptional; mimetype: z.ZodOptional; filetype: z.ZodOptional; size: z.ZodOptional; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }>, "many">>; has_more: z.ZodOptional; response_metadata: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; messages?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }[] | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; response_metadata?: { next_cursor: string; } | undefined; messages?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }[] | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_message">; ok: z.ZodBoolean; channel: z.ZodOptional; ts: z.ZodOptional; text: z.ZodOptional; message: z.ZodOptional; user: z.ZodOptional; bot_id: z.ZodOptional; bot_profile: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional; text: z.ZodOptional; thread_ts: z.ZodOptional; parent_user_id: z.ZodOptional; reply_count: z.ZodOptional; reply_users_count: z.ZodOptional; latest_reply: z.ZodOptional; reply_users: z.ZodOptional>; is_locked: z.ZodOptional; subscribed: z.ZodOptional; attachments: z.ZodOptional>; blocks: z.ZodOptional>; reactions: z.ZodOptional; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; count: number; users: string[]; }, { name: string; count: number; users: string[]; }>, "many">>; files: z.ZodOptional; title: z.ZodOptional; mimetype: z.ZodOptional; filetype: z.ZodOptional; size: z.ZodOptional; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }, { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_message"; ok: boolean; message?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; } | undefined; text?: string | undefined; ts?: string | undefined; channel?: string | undefined; }, { error: string; success: boolean; operation: "update_message"; ok: boolean; message?: { type: string; text?: string | undefined; user?: string | undefined; ts?: string | undefined; username?: string | undefined; attachments?: unknown[] | undefined; blocks?: unknown[] | undefined; thread_ts?: string | undefined; bot_id?: string | undefined; bot_profile?: { name?: string | undefined; } | undefined; parent_user_id?: string | undefined; reply_count?: number | undefined; reply_users_count?: number | undefined; latest_reply?: string | undefined; reply_users?: string[] | undefined; is_locked?: boolean | undefined; subscribed?: boolean | undefined; reactions?: { name: string; count: number; users: string[]; }[] | undefined; files?: { id: string; title?: string | undefined; name?: string | undefined; user?: string | undefined; mimetype?: string | undefined; filetype?: string | undefined; size?: number | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }[] | undefined; } | undefined; text?: string | undefined; ts?: string | undefined; channel?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; ok: z.ZodBoolean; channel: z.ZodOptional; ts: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_message"; ok: boolean; ts?: string | undefined; channel?: string | undefined; }, { error: string; success: boolean; operation: "delete_message"; ok: boolean; ts?: string | undefined; channel?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; ok: z.ZodBoolean; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_reaction"; ok: boolean; }, { error: string; success: boolean; operation: "add_reaction"; ok: boolean; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_reaction">; ok: z.ZodBoolean; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "remove_reaction"; ok: boolean; }, { error: string; success: boolean; operation: "remove_reaction"; ok: boolean; }>, z.ZodObject<{ operation: z.ZodLiteral<"join_channel">; ok: z.ZodBoolean; channel: z.ZodOptional; is_group: z.ZodOptional; is_im: z.ZodOptional; is_mpim: z.ZodOptional; is_private: z.ZodOptional; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional; unlinked: z.ZodOptional; name_normalized: z.ZodOptional; is_shared: z.ZodOptional; is_ext_shared: z.ZodOptional; is_org_shared: z.ZodOptional; shared_team_ids: z.ZodOptional>; pending_shared: z.ZodOptional>; pending_connected_team_ids: z.ZodOptional>; is_pending_ext_shared: z.ZodOptional; is_member: z.ZodOptional; is_open: z.ZodOptional; topic: z.ZodOptional>; purpose: z.ZodOptional>; num_members: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }, { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; }>>; already_in_channel: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "join_channel"; ok: boolean; channel?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; } | undefined; already_in_channel?: boolean | undefined; }, { error: string; success: boolean; operation: "join_channel"; ok: boolean; channel?: { name: string; id: string; created: number; is_archived: boolean; is_channel?: boolean | undefined; is_group?: boolean | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; is_private?: boolean | undefined; is_general?: boolean | undefined; unlinked?: number | undefined; name_normalized?: string | undefined; is_shared?: boolean | undefined; is_ext_shared?: boolean | undefined; is_org_shared?: boolean | undefined; shared_team_ids?: string[] | undefined; pending_shared?: string[] | undefined; pending_connected_team_ids?: string[] | undefined; is_pending_ext_shared?: boolean | undefined; is_member?: boolean | undefined; is_open?: boolean | undefined; topic?: { value: string; creator: string; last_set: number; } | undefined; purpose?: { value: string; creator: string; last_set: number; } | undefined; num_members?: number | undefined; } | undefined; already_in_channel?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_file">; ok: z.ZodBoolean; file: z.ZodOptional; mimetype: z.ZodString; filetype: z.ZodString; pretty_type: z.ZodString; user: z.ZodString; editable: z.ZodBoolean; size: z.ZodNumber; mode: z.ZodString; is_external: z.ZodBoolean; external_type: z.ZodString; is_public: z.ZodBoolean; public_url_shared: z.ZodBoolean; display_as_bot: z.ZodBoolean; username: z.ZodString; url_private: z.ZodString; url_private_download: z.ZodString; permalink: z.ZodString; permalink_public: z.ZodOptional; shares: z.ZodOptional; reply_users_count: z.ZodNumber; reply_count: z.ZodNumber; ts: z.ZodString; channel_name: z.ZodString; team_id: z.ZodString; }, "strip", z.ZodTypeAny, { ts: string; team_id: string; reply_count: number; reply_users_count: number; reply_users: string[]; channel_name: string; }, { ts: string; team_id: string; reply_count: number; reply_users_count: number; reply_users: string[]; channel_name: string; }>, "many">>>; private: z.ZodOptional; reply_users_count: z.ZodNumber; reply_count: z.ZodNumber; ts: z.ZodString; channel_name: z.ZodString; team_id: z.ZodString; }, "strip", z.ZodTypeAny, { ts: string; team_id: string; reply_count: number; reply_users_count: number; reply_users: string[]; channel_name: string; }, { ts: string; team_id: string; reply_count: number; reply_users_count: number; reply_users: string[]; channel_name: string; }>, "many">>>; }, "strip", z.ZodTypeAny, { public?: Record | undefined; private?: Record | undefined; }, { public?: Record | undefined; private?: Record | undefined; }>>; channels: z.ZodOptional>; groups: z.ZodOptional>; ims: z.ZodOptional>; has_rich_preview: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; user: string; username: string; timestamp: number; created: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; pretty_type: string; editable: boolean; mode: string; is_external: boolean; external_type: string; is_public: boolean; public_url_shared: boolean; display_as_bot: boolean; title?: string | undefined; channels?: string[] | undefined; permalink_public?: string | undefined; shares?: { public?: Record | undefined; private?: Record | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; }, { name: string; id: string; user: string; username: string; timestamp: number; created: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; pretty_type: string; editable: boolean; mode: string; is_external: boolean; external_type: string; is_public: boolean; public_url_shared: boolean; display_as_bot: boolean; title?: string | undefined; channels?: string[] | undefined; permalink_public?: string | undefined; shares?: { public?: Record | undefined; private?: Record | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "upload_file"; ok: boolean; file?: { name: string; id: string; user: string; username: string; timestamp: number; created: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; pretty_type: string; editable: boolean; mode: string; is_external: boolean; external_type: string; is_public: boolean; public_url_shared: boolean; display_as_bot: boolean; title?: string | undefined; channels?: string[] | undefined; permalink_public?: string | undefined; shares?: { public?: Record | undefined; private?: Record | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "upload_file"; ok: boolean; file?: { name: string; id: string; user: string; username: string; timestamp: number; created: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; pretty_type: string; editable: boolean; mode: string; is_external: boolean; external_type: string; is_public: boolean; public_url_shared: boolean; display_as_bot: boolean; title?: string | undefined; channels?: string[] | undefined; permalink_public?: string | undefined; shares?: { public?: Record | undefined; private?: Record | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"schedule_message">; ok: z.ZodBoolean; channel: z.ZodOptional; scheduled_message_id: z.ZodOptional; post_at: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "schedule_message"; ok: boolean; channel?: string | undefined; post_at?: number | undefined; scheduled_message_id?: string | undefined; }, { error: string; success: boolean; operation: "schedule_message"; ok: boolean; channel?: string | undefined; post_at?: number | undefined; scheduled_message_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_info">; ok: z.ZodBoolean; file: z.ZodOptional; mimetype: z.ZodString; filetype: z.ZodString; size: z.ZodNumber; user: z.ZodOptional; url_private: z.ZodOptional; url_private_download: z.ZodOptional; thumb_64: z.ZodOptional; thumb_360: z.ZodOptional; thumb_480: z.ZodOptional; original_w: z.ZodOptional; original_h: z.ZodOptional; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; mimetype: string; filetype: string; size: number; title?: string | undefined; user?: string | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }, { name: string; id: string; mimetype: string; filetype: string; size: number; title?: string | undefined; user?: string | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_file_info"; ok: boolean; file?: { name: string; id: string; mimetype: string; filetype: string; size: number; title?: string | undefined; user?: string | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_file_info"; ok: boolean; file?: { name: string; id: string; mimetype: string; filetype: string; size: number; title?: string | undefined; user?: string | undefined; url_private?: string | undefined; url_private_download?: string | undefined; thumb_64?: string | undefined; thumb_360?: string | undefined; thumb_480?: string | undefined; original_w?: number | undefined; original_h?: number | undefined; permalink?: string | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"download_file">; ok: z.ZodBoolean; content: z.ZodOptional; filename: z.ZodOptional; mimetype: z.ZodOptional; size: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "download_file"; ok: boolean; content?: string | undefined; filename?: string | undefined; mimetype?: string | undefined; size?: number | undefined; }, { error: string; success: boolean; operation: "download_file"; ok: boolean; content?: string | undefined; filename?: string | undefined; mimetype?: string | undefined; size?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_messages">; ok: z.ZodBoolean; matches: z.ZodOptional; channel_name: z.ZodOptional; user_id: z.ZodOptional; username: z.ZodOptional; text: z.ZodString; permalink: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; ts: string; username?: string | undefined; permalink?: string | undefined; channel_name?: string | undefined; channel_id?: string | undefined; user_id?: string | undefined; }, { text: string; ts: string; username?: string | undefined; permalink?: string | undefined; channel_name?: string | undefined; channel_id?: string | undefined; user_id?: string | undefined; }>, "many">>; pagination: z.ZodOptional; total_count: z.ZodOptional; page_count: z.ZodOptional; }, "strip", z.ZodTypeAny, { page?: number | undefined; total_count?: number | undefined; page_count?: number | undefined; }, { page?: number | undefined; total_count?: number | undefined; page_count?: number | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search_messages"; ok: boolean; code?: string | undefined; matches?: { text: string; ts: string; username?: string | undefined; permalink?: string | undefined; channel_name?: string | undefined; channel_id?: string | undefined; user_id?: string | undefined; }[] | undefined; pagination?: { page?: number | undefined; total_count?: number | undefined; page_count?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "search_messages"; ok: boolean; code?: string | undefined; matches?: { text: string; ts: string; username?: string | undefined; permalink?: string | undefined; channel_name?: string | undefined; channel_id?: string | undefined; user_id?: string | undefined; }[] | undefined; pagination?: { page?: number | undefined; total_count?: number | undefined; page_count?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_dms">; ok: z.ZodBoolean; channels: z.ZodOptional; is_mpim: z.ZodOptional; user: z.ZodOptional; num_members: z.ZodOptional; is_archived: z.ZodOptional; created: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; user?: string | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; created?: number | undefined; is_archived?: boolean | undefined; num_members?: number | undefined; }, { id: string; user?: string | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; created?: number | undefined; is_archived?: boolean | undefined; num_members?: number | undefined; }>, "many">>; next_cursor: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_dms"; ok: boolean; code?: string | undefined; channels?: { id: string; user?: string | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; created?: number | undefined; is_archived?: boolean | undefined; num_members?: number | undefined; }[] | undefined; next_cursor?: string | undefined; }, { error: string; success: boolean; operation: "list_dms"; ok: boolean; code?: string | undefined; channels?: { id: string; user?: string | undefined; is_im?: boolean | undefined; is_mpim?: boolean | undefined; created?: number | undefined; is_archived?: boolean | undefined; num_members?: number | undefined; }[] | undefined; next_cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"read_dm_history">; ok: z.ZodBoolean; messages: z.ZodOptional; text: z.ZodString; thread_ts: z.ZodOptional; reply_count: z.ZodOptional; type: z.ZodOptional; subtype: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; ts: string; type?: string | undefined; user?: string | undefined; thread_ts?: string | undefined; reply_count?: number | undefined; subtype?: string | undefined; }, { text: string; ts: string; type?: string | undefined; user?: string | undefined; thread_ts?: string | undefined; reply_count?: number | undefined; subtype?: string | undefined; }>, "many">>; has_more: z.ZodOptional; next_cursor: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "read_dm_history"; ok: boolean; code?: string | undefined; messages?: { text: string; ts: string; type?: string | undefined; user?: string | undefined; thread_ts?: string | undefined; reply_count?: number | undefined; subtype?: string | undefined; }[] | undefined; next_cursor?: string | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "read_dm_history"; ok: boolean; code?: string | undefined; messages?: { text: string; ts: string; type?: string | undefined; user?: string | undefined; thread_ts?: string | undefined; reply_count?: number | undefined; subtype?: string | undefined; }[] | undefined; next_cursor?: string | undefined; has_more?: boolean | undefined; }>]>; static readonly shortDescription = "Slack integration for messaging and workspace management"; static readonly longDescription = "\nComprehensive Slack integration for messaging and workspace management.\n "; static readonly alias = "slack"; constructor(params?: T, context?: BubbleContext, instanceId?: string); protected performAction(context?: BubbleContext): Promise>; /** * Helper method to resolve channel names to channel IDs. * If the input looks like a channel ID (starts with C, G, or D), returns it as-is. * Otherwise, searches for a channel with the given name. */ private resolveChannelId; private static readonly MAX_BLOCKS_PER_MESSAGE; /** * Build "Powered by BubbleLab" footer blocks from execution metadata. * Returns empty array if no metadata is available. */ private static buildFooterBlocks; private sendMessage; /** * Sends a message with blocks split into multiple messages. * Used when exceeding Slack's 50 block limit or when multiple table blocks * need separate messages. Subsequent chunks are sent as thread replies. */ private sendMessageWithBlockChunks; private listChannels; private getChannelInfo; private getUserInfo; private listUsers; private getConversationHistory; private getThreadReplies; private updateMessage; private deleteMessage; private addReaction; private removeReaction; private uploadFile; private joinChannel; private scheduleMessage; private getFileInfo; private downloadFile; /** * search.messages — USER TOKEN REQUIRED. Slack rejects this endpoint from bot tokens. */ private searchMessages; /** * conversations.list filtered to DM types — USER TOKEN REQUIRED. * Bot tokens only see DMs the bot is a participant in. */ private listDms; /** * conversations.history on a DM channel — USER TOKEN REQUIRED. * Bot tokens only see DM history for DMs the bot is part of. */ private readDmHistory; /** * Opens a DM conversation with a user and returns the DM channel ID. * Required scope: im:write (bot or user). * * When called with `useUserToken=true`, routes through xoxp so the DM is the * user-to-user DM (the actual private thread between the installing user and * `userId`), not the bot-to-user DM. */ private openDmConversation; /** * Decode the Slack credential into its bot + user tokens. * * The credential-helper (Pro) packs both xoxb and xoxp into a base64 payload when the * install granted a user token; legacy rows / manual SLACK_API paste come through as * raw token strings. This helper hides both shapes from callers. * * Per-operation token selection: * - bot (xoxb) for ops that should act as the Pearl app (chat.postMessage, reactions, etc.) * - user (xoxp) for ops that Slack only accepts from a user token (search.messages, * admin.*, DM history belonging to the installer) */ protected getSlackTokens(): { bot?: string; user?: string; appId?: string; }; protected chooseCredential(): string | undefined; private makeSlackApiCall; /** * Read-side helper: try the user token (xoxp) first, then fall back to the bot * token (xoxb) on membership / scope errors. The user token can read any channel * the installing user is in without the bot needing to be invited; the bot token * is the safety net when only bot scopes were granted. * * On final failure the returned `error` is a human-actionable message that * incorporates which token failed with which error — far more useful than the * raw Slack error code alone. */ private static readonly FALLBACK_ERRORS; private tryWithTokenFallback; private composeReadError; /** * Resolve a channel name/ID for a *read* operation: prefer the user token (which * sees every channel the installing user is in, even without the bot being * invited) and fall back to the bot token if user-side resolution fails or no * user token is configured. If both fail, the thrown error includes both * underlying errors so the caller can see what really happened. */ private resolveChannelIdForRead; } export {}; //# sourceMappingURL=slack.d.ts.map