@bubblelab/bubble-core 0.1.131 → 0.1.134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,7 +139,7 @@ export interface AirtableRecordUpdatedEvent extends AirtableEventBase { airtable
139
139
  export interface AirtableRecordDeletedEvent extends AirtableEventBase { airtable_event: AirtableEventBase['airtable_event'] & { type: 'record_deleted'; recordIds: string[]; }; }
140
140
  export interface JsonSchema { type: string; properties?: Record<string, JsonSchemaProperty>; required?: string[]; additionalProperties?: boolean; }
141
141
  export interface JsonSchemaProperty { type?: string; description?: string; [key: string]: unknown; }
142
- export interface TriggerEventConfig { serviceName: string; friendlyName: string; description: string; setupGuide: string; payloadSchema: JsonSchema; }
142
+ export interface TriggerEventConfig { serviceName: string; friendlyName: string; description: string; setupGuide: string; payloadSchema: JsonSchema; requiredCredentialType?: string; requiredConfigFields?: string[]; }
143
143
  export declare const TRIGGER_EVENT_CONFIGS: Record<keyof BubbleTriggerEventRegistry, TriggerEventConfig>; export declare function getTriggerEventConfig(eventType: keyof BubbleTriggerEventRegistry): TriggerEventConfig; export declare function isServiceTrigger(eventType: keyof BubbleTriggerEventRegistry): boolean; export declare const TRIGGER_EVENT_INTERFACE_MAP: Record<string, keyof BubbleTriggerEventRegistry>; export declare function getTriggerEventTypeFromInterfaceName(interfaceName: string): keyof BubbleTriggerEventRegistry | undefined; export declare const AIRTABLE_DELAY_OPTIONS: readonly [0, 30, 60, 120, 300, 600]; export type AirtableDelaySeconds = (typeof AIRTABLE_DELAY_OPTIONS)[number]; export declare const AIRTABLE_DELAY_LABELS: Record<AirtableDelaySeconds, string>; export interface AirtableBase { id: string; name: string; permissionLevel: 'none' | 'read' | 'comment' | 'edit' | 'create'; }
144
144
  export interface AirtableTable { id: string; name: string; description?: string; }
145
145
  export interface AirtableTableFull extends AirtableTable { primaryFieldId: string; fields: Array<{ id: string; name: string; type: string; description?: string; }>; }
@@ -291,7 +291,7 @@ export interface LogServiceUsage { usage: number; service: CredentialType; unit:
291
291
  export interface LogMetadata { flowName: string; variableId?: number; lineNumber?: number; functionName?: string; bubbleName?: string; variableName?: string; operationType?: 'bubble_instantiation' | 'bubble_execution' | 'variable_assignment' | 'condition' | 'loop_iteration' | 'script' | 'bubble_execution_complete' | 'function_call'; memoryUsage?: NodeJS.MemoryUsage; stackTrace?: string; additionalData?: Record<string, unknown>; serviceUsage?: LogServiceUsage; }
292
292
  export interface LoggerConfig { minLevel: LogLevel; enableTiming: boolean; enableMemoryTracking: boolean; enableStackTraces: boolean; maxLogEntries: number; bufferSize: number; flushInterval?: number; pricingTable: Record<string, { unit: string; unitCost: number; }>; userCredentialMapping?: Map<number, Set<CredentialType>>; }
293
293
  export declare class BubbleLogger { private flowName; private config; private logs; private startTime; private lastLogTime; private executionId; private lineTimings; private lineLogCounts; private peakMemoryUsage?; private buffer; private flushTimer?; cumulativeServiceUsageByService: Map<string, Map<number, { usage: number; service: CredentialType; subService?: string; unit: string; }>>; private bubbleStartTimes; private functionCallStartTimes; private userCredentialMapping?; constructor(flowName: string, config: Partial<Omit<LoggerConfig, 'pricingTable'>> & { pricingTable: Record<string, { unit: string; unitCost: number; }>; }); logLine(lineNumber: number, message: string, additionalData?: Record<string, unknown>): string; protected shouldLogLine(lineNumber: number): boolean; logBubbleInstantiation(variableId: number, bubbleName: string, variableName: string, parameters?: Record<string, unknown>): string; logBubbleExecution(variableId: number, bubbleName: string, variableName: string, parameters?: Record<string, unknown>): string; logBubbleExecutionComplete(variableId: number, bubbleName: string, variableName: string, result?: unknown): string; logVariableAssignment(lineNumber: number, variableName: string, value: unknown): void; logControlFlow(lineNumber: number, type: 'condition' | 'loop_iteration', condition: string, result?: boolean): void; protected getServiceUsageKey(service: LogServiceUsage, unitCost?: number): string; addServiceUsage(serviceUsage: LogServiceUsage, variableId?: number): void; logTokenUsage(serviceUsage: LogServiceUsage, message?: string, metadata?: Partial<LogMetadata>): string; logToolCallStart(toolCallId: string, toolName: string, toolInput: unknown, message?: string): string; logToolCallComplete(toolCallId: string, toolName: string, toolInput: unknown, toolOutput: unknown, duration: number, message?: string): string; logFunctionCallStart(variableId: number, functionName: string, functionInput: unknown, lineNumber?: number): string; logFunctionCallComplete(variableId: number, functionName: string, functionOutput: unknown, duration: number, lineNumber?: number): string; protected getFunctionCallExecutionTime(variableId: number): number; log(level: LogLevel, message: string, metadata?: Partial<LogMetadata>): void; trace(message: string, metadata?: Partial<LogMetadata>): void; debug(message: string, metadata?: Partial<LogMetadata>): void; info(message: string, metadata?: Partial<LogMetadata>): void; warn(message: string, metadata?: Partial<LogMetadata>): void; error(message: string, error?: BubbleError, metadata?: Partial<LogMetadata>): void; fatal(message: string, error?: BubbleError, metadata?: Partial<LogMetadata>): void; flush(): void; getExecutionSummary(): ExecutionSummary; getLogs(): LogEntry[]; getLogsByLevel(level: LogLevel): LogEntry[]; getLogsByLine(lineNumber: number): LogEntry[]; exportLogs(format: 'json' | 'csv' | 'table'): string; dispose(): void; private captureStackTrace; private formatAsTable; protected getBubbleExecutionTime(variableId: number): number; logBrowserSessionStart(_sessionId: string, _sessionUrl: string, _variableId?: number): void; logBrowserSessionEnd(_sessionId: string, _variableId?: number): void; }
294
- export declare abstract class BubbleFlow<TEventType extends keyof BubbleTriggerEventRegistry> { readonly name: string; readonly description: string; protected logger?: BubbleLogger; private __currentInvocationCallSiteKey?; readonly cronSchedule?: string; constructor(name: string, description: string, logger?: BubbleLogger); abstract handle(payload: BubbleTriggerEventRegistry[TEventType]): Promise<BubbleFlowOperationResult>; getLogger(): BubbleLogger | undefined; setLogger(logger: BubbleLogger): void; __setInvocationCallSiteKey(key?: string): string | undefined; __restoreInvocationCallSiteKey(previous?: string | undefined): void; __getInvocationCallSiteKey(): string | undefined; __computeInvocationVariableId(originalVariableId?: number): number | undefined; }
294
+ export declare abstract class BubbleFlow<TEventType extends keyof BubbleTriggerEventRegistry> { readonly name: string; readonly description: string; protected logger?: BubbleLogger; private __currentInvocationCallSiteKey?; __executionMeta__?: { flowId?: number; executionId?: number; studioBaseUrl?: string; }; readonly cronSchedule?: string; constructor(name: string, description: string, logger?: BubbleLogger); abstract handle(payload: BubbleTriggerEventRegistry[TEventType]): Promise<BubbleFlowOperationResult>; getLogger(): BubbleLogger | undefined; setLogger(logger: BubbleLogger): void; __setInvocationCallSiteKey(key?: string): string | undefined; __restoreInvocationCallSiteKey(previous?: string | undefined): void; __getInvocationCallSiteKey(): string | undefined; __computeInvocationVariableId(originalVariableId?: number): number | undefined; }
295
295
  export declare abstract class BaseBubble<TParams = unknown, TResult extends BubbleOperationResult = BubbleOperationResult> implements IBubble<TResult> { readonly name: string; readonly schema: z.ZodObject<z.ZodRawShape>; readonly resultSchema: z.ZodObject<z.ZodRawShape>; readonly shortDescription: string; readonly longDescription: string; readonly alias?: string; abstract readonly type: 'service' | 'workflow' | 'tool' | 'ui' | 'infra'; protected readonly params: TParams; protected context?: BubbleContext; previousResult: BubbleResult<BubbleOperationResult> | undefined; protected readonly instanceId?: string; constructor(params: unknown, context?: BubbleContext, instanceId?: string); private computeChildContext; saveResult<R extends BubbleOperationResult>(result: BubbleResult<R>): void; clearSavedResult(): void; toJSON(): Record<string, unknown>; action(): Promise<BubbleResult<TResult>>; generateMockResult(): BubbleResult<TResult>; generateMockResultWithSeed(seed: number): BubbleResult<TResult>; protected abstract performAction(context?: BubbleContext): Promise<TResult>; }
296
296
  export declare abstract class ServiceBubble<TParams extends ServiceBubbleParams = ServiceBubbleParams, TResult extends BubbleOperationResult = BubbleOperationResult> extends BaseBubble<TParams, TResult> { readonly type: "service"; authType?: 'oauth' | 'apikey' | 'none' | 'connection-string'; constructor(params: unknown, context?: BubbleContext, instanceId?: string); abstract testCredential(): Promise<boolean>; protected abstract chooseCredential(): string | undefined; getCredentialMetadata(): Promise<DatabaseMetadata | undefined>; get currentParams(): Omit<TParams, 'credentials'>; setParam<K extends keyof TParams>(paramName: K, paramValue: TParams[K]): void; get currentContext(): BubbleContext | undefined; }
297
297
  export declare class BubbleError extends Error { readonly variableId?: number; readonly bubbleName?: string; constructor(message: string, options?: { variableId?: number; bubbleName?: string; cause?: Error; }); }
@@ -367,7 +367,7 @@ export interface IToolBubble<TResult extends BubbleOperationResult = BubbleOpera
367
367
  export interface IUIBubble extends IBubble { readonly type: 'ui'; template: string; }
368
368
  export interface IInfraBubble extends IBubble { readonly type: 'infra'; provider: 'aws' | 'gcp' | 'supabase'; resourceType: string; }
369
369
  export type BubbleFlowOperationResult = unknown; export interface BubbleContext { logger?: BubbleLogger; variableId?: number; invocationCallSiteKey?: string; dependencyGraph?: DependencyGraphNode; currentUniqueId?: string; __uniqueIdCounters__?: Record<string, number>; [key: string]: unknown; }
370
- export type ServiceBubbleParams<T = unknown> = T & { credentials?: CredentialOptions; retries?: number; }; declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; channel: z.ZodString; text: z.ZodString; username: z.ZodOptional<z.ZodString>; icon_emoji: z.ZodOptional<z.ZodString>; icon_url: z.ZodOptional<z.ZodString>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ color: z.ZodOptional<z.ZodString>; pretext: z.ZodOptional<z.ZodString>; author_name: z.ZodOptional<z.ZodString>; author_link: z.ZodOptional<z.ZodString>; author_icon: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; title_link: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ title: z.ZodString; value: z.ZodString; short: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional<z.ZodString>; thumb_url: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; footer_icon: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; thread_ts: z.ZodOptional<z.ZodString>; reply_broadcast: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { text: string; operation: "send_message"; channel: string; reply_broadcast: boolean; unfurl_links: boolean; unfurl_media: boolean; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "send_message"; channel: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; reply_broadcast?: boolean | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; types: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["public_channel", "private_channel", "mpim", "im"]>, "many">>>; exclude_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { types: ("public_channel" | "private_channel" | "mpim" | "im")[]; operation: "list_channels"; exclude_archived: boolean; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_channels"; types?: ("public_channel" | "private_channel" | "mpim" | "im")[] | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_channel_info"; channel: string; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_channel_info"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_info">; user: z.ZodString; include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { user: string; operation: "get_user_info"; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { user: string; operation: "get_user_info"; credentials?: Partial<Record<CredentialType, string>> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; limit: number; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_users"; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; oldest: z.ZodOptional<z.ZodString>; inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_conversation_history"; channel: string; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_conversation_history"; channel: string; inclusive?: boolean | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; oldest: z.ZodOptional<z.ZodString>; inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_thread_replies"; channel: string; ts: string; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_thread_replies"; channel: string; ts: string; inclusive?: boolean | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ color: z.ZodOptional<z.ZodString>; pretext: z.ZodOptional<z.ZodString>; author_name: z.ZodOptional<z.ZodString>; author_link: z.ZodOptional<z.ZodString>; author_icon: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; title_link: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ title: z.ZodString; value: z.ZodString; short: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional<z.ZodString>; thumb_url: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; footer_icon: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { operation: "update_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; channel: z.ZodString; ts: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"join_channel">; channel: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "join_channel"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "join_channel"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_file">; channel: z.ZodString; file_path: z.ZodOptional<z.ZodString>; content: z.ZodOptional<z.ZodString>; filename: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; initial_comment: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "upload_file"; channel: string; title?: string | undefined; content?: string | undefined; credentials?: Partial<Record<CredentialType, 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; content?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; thread_ts?: string | 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; thread_ts: z.ZodOptional<z.ZodString>; blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { text: string; operation: "schedule_message"; channel: string; unfurl_links: boolean; unfurl_media: boolean; post_at: number; credentials?: Partial<Record<CredentialType, string>> | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "schedule_message"; channel: string; post_at: number; credentials?: Partial<Record<CredentialType, string>> | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_info">; file_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_file_info"; file_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_file_info"; file_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"download_file">; file_url: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "download_file"; credentials?: Partial<Record<CredentialType, string>> | undefined; file_id?: string | undefined; file_url?: string | undefined; }, { operation: "download_file"; credentials?: Partial<Record<CredentialType, string>> | undefined; file_id?: string | undefined; file_url?: string | undefined; }>]>; declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; ok: z.ZodBoolean; channels: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodObject<{ id: z.ZodString; team_id: z.ZodOptional<z.ZodString>; name: z.ZodString; deleted: z.ZodOptional<z.ZodBoolean>; color: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; tz: z.ZodOptional<z.ZodString>; tz_label: z.ZodOptional<z.ZodString>; tz_offset: z.ZodOptional<z.ZodNumber>; profile: z.ZodOptional<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; skype: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; real_name_normalized: z.ZodOptional<z.ZodString>; display_name: z.ZodOptional<z.ZodString>; display_name_normalized: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; status_text: z.ZodOptional<z.ZodString>; status_emoji: z.ZodOptional<z.ZodString>; status_expiration: z.ZodOptional<z.ZodNumber>; avatar_hash: z.ZodOptional<z.ZodString>; image_original: z.ZodOptional<z.ZodString>; is_custom_image: z.ZodOptional<z.ZodBoolean>; email: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; image_24: z.ZodOptional<z.ZodString>; image_32: z.ZodOptional<z.ZodString>; image_48: z.ZodOptional<z.ZodString>; image_72: z.ZodOptional<z.ZodString>; image_192: z.ZodOptional<z.ZodString>; image_512: z.ZodOptional<z.ZodString>; image_1024: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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<string, unknown> | 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<z.ZodBoolean>; is_owner: z.ZodOptional<z.ZodBoolean>; is_primary_owner: z.ZodOptional<z.ZodBoolean>; is_restricted: z.ZodOptional<z.ZodBoolean>; is_ultra_restricted: z.ZodOptional<z.ZodBoolean>; is_bot: z.ZodOptional<z.ZodBoolean>; is_app_user: z.ZodOptional<z.ZodBoolean>; updated: z.ZodOptional<z.ZodNumber>; has_2fa: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodArray<z.ZodObject<{ id: z.ZodString; team_id: z.ZodOptional<z.ZodString>; name: z.ZodString; deleted: z.ZodOptional<z.ZodBoolean>; color: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; tz: z.ZodOptional<z.ZodString>; tz_label: z.ZodOptional<z.ZodString>; tz_offset: z.ZodOptional<z.ZodNumber>; profile: z.ZodOptional<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; skype: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; real_name_normalized: z.ZodOptional<z.ZodString>; display_name: z.ZodOptional<z.ZodString>; display_name_normalized: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; status_text: z.ZodOptional<z.ZodString>; status_emoji: z.ZodOptional<z.ZodString>; status_expiration: z.ZodOptional<z.ZodNumber>; avatar_hash: z.ZodOptional<z.ZodString>; image_original: z.ZodOptional<z.ZodString>; is_custom_image: z.ZodOptional<z.ZodBoolean>; email: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; image_24: z.ZodOptional<z.ZodString>; image_32: z.ZodOptional<z.ZodString>; image_48: z.ZodOptional<z.ZodString>; image_72: z.ZodOptional<z.ZodString>; image_192: z.ZodOptional<z.ZodString>; image_512: z.ZodOptional<z.ZodString>; image_1024: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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<string, unknown> | 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<z.ZodBoolean>; is_owner: z.ZodOptional<z.ZodBoolean>; is_primary_owner: z.ZodOptional<z.ZodBoolean>; is_restricted: z.ZodOptional<z.ZodBoolean>; is_ultra_restricted: z.ZodOptional<z.ZodBoolean>; is_bot: z.ZodOptional<z.ZodBoolean>; is_app_user: z.ZodOptional<z.ZodBoolean>; updated: z.ZodOptional<z.ZodNumber>; has_2fa: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodArray<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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<z.ZodBoolean>; response_metadata: z.ZodOptional<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_thread_replies">; ok: z.ZodBoolean; messages: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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<z.ZodBoolean>; response_metadata: z.ZodOptional<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "update_message"; ok: boolean; message?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_message"; ok: boolean; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "delete_message"; ok: boolean; channel?: string | undefined; ts?: 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodBoolean>; 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<z.ZodObject<{ id: z.ZodString; created: z.ZodNumber; timestamp: z.ZodNumber; name: z.ZodString; title: z.ZodOptional<z.ZodString>; 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<z.ZodString>; shares: z.ZodOptional<z.ZodObject<{ public: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ reply_users: z.ZodArray<z.ZodString, "many">; 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; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }>, "many">>>; private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ reply_users: z.ZodArray<z.ZodString, "many">; 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; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }>, "many">>>; }, "strip", z.ZodTypeAny, { public?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; }, { public?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; }>>; channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; ims: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; has_rich_preview: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; user: string; username: string; timestamp: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; }, { name: string; id: string; user: string; username: string; timestamp: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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<z.ZodString>; scheduled_message_id: z.ZodOptional<z.ZodString>; post_at: z.ZodOptional<z.ZodNumber>; 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodString; filetype: z.ZodString; size: z.ZodNumber; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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<z.ZodString>; filename: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; 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; }>]>; type SlackResult = z.output<typeof SlackResultSchema>; type SlackParams = z.input<typeof SlackParamsSchema>;; export type SlackOperationResult<T extends SlackParams['operation']> = Extract<SlackResult, { operation: T; }>; export declare class SlackBubble<T extends SlackParams = SlackParams> extends ServiceBubble<T, Extract<SlackResult, { operation: T['operation']; }>> { testCredential(): Promise<boolean>; 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<z.ZodString>; icon_emoji: z.ZodOptional<z.ZodString>; icon_url: z.ZodOptional<z.ZodString>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ color: z.ZodOptional<z.ZodString>; pretext: z.ZodOptional<z.ZodString>; author_name: z.ZodOptional<z.ZodString>; author_link: z.ZodOptional<z.ZodString>; author_icon: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; title_link: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ title: z.ZodString; value: z.ZodString; short: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional<z.ZodString>; thumb_url: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; footer_icon: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; thread_ts: z.ZodOptional<z.ZodString>; reply_broadcast: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { text: string; operation: "send_message"; channel: string; reply_broadcast: boolean; unfurl_links: boolean; unfurl_media: boolean; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "send_message"; channel: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; reply_broadcast?: boolean | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; types: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["public_channel", "private_channel", "mpim", "im"]>, "many">>>; exclude_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { types: ("public_channel" | "private_channel" | "mpim" | "im")[]; operation: "list_channels"; exclude_archived: boolean; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_channels"; types?: ("public_channel" | "private_channel" | "mpim" | "im")[] | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_channel_info"; channel: string; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_channel_info"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_info">; user: z.ZodString; include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { user: string; operation: "get_user_info"; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { user: string; operation: "get_user_info"; credentials?: Partial<Record<CredentialType, string>> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; limit: number; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_users"; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; oldest: z.ZodOptional<z.ZodString>; inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_conversation_history"; channel: string; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_conversation_history"; channel: string; inclusive?: boolean | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; oldest: z.ZodOptional<z.ZodString>; inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_thread_replies"; channel: string; ts: string; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_thread_replies"; channel: string; ts: string; inclusive?: boolean | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ color: z.ZodOptional<z.ZodString>; pretext: z.ZodOptional<z.ZodString>; author_name: z.ZodOptional<z.ZodString>; author_link: z.ZodOptional<z.ZodString>; author_icon: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; title_link: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ title: z.ZodString; value: z.ZodString; short: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional<z.ZodString>; thumb_url: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; footer_icon: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { operation: "update_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; channel: z.ZodString; ts: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"join_channel">; channel: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "join_channel"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "join_channel"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_file">; channel: z.ZodString; file_path: z.ZodOptional<z.ZodString>; content: z.ZodOptional<z.ZodString>; filename: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; initial_comment: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "upload_file"; channel: string; title?: string | undefined; content?: string | undefined; credentials?: Partial<Record<CredentialType, 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; content?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; thread_ts?: string | 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; thread_ts: z.ZodOptional<z.ZodString>; blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { text: string; operation: "schedule_message"; channel: string; unfurl_links: boolean; unfurl_media: boolean; post_at: number; credentials?: Partial<Record<CredentialType, string>> | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "schedule_message"; channel: string; post_at: number; credentials?: Partial<Record<CredentialType, string>> | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_info">; file_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_file_info"; file_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_file_info"; file_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"download_file">; file_url: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "download_file"; credentials?: Partial<Record<CredentialType, string>> | undefined; file_id?: string | undefined; file_url?: string | undefined; }, { operation: "download_file"; credentials?: Partial<Record<CredentialType, string>> | undefined; file_id?: string | undefined; file_url?: string | undefined; }>]>; static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; ok: z.ZodBoolean; channels: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodObject<{ id: z.ZodString; team_id: z.ZodOptional<z.ZodString>; name: z.ZodString; deleted: z.ZodOptional<z.ZodBoolean>; color: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; tz: z.ZodOptional<z.ZodString>; tz_label: z.ZodOptional<z.ZodString>; tz_offset: z.ZodOptional<z.ZodNumber>; profile: z.ZodOptional<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; skype: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; real_name_normalized: z.ZodOptional<z.ZodString>; display_name: z.ZodOptional<z.ZodString>; display_name_normalized: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; status_text: z.ZodOptional<z.ZodString>; status_emoji: z.ZodOptional<z.ZodString>; status_expiration: z.ZodOptional<z.ZodNumber>; avatar_hash: z.ZodOptional<z.ZodString>; image_original: z.ZodOptional<z.ZodString>; is_custom_image: z.ZodOptional<z.ZodBoolean>; email: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; image_24: z.ZodOptional<z.ZodString>; image_32: z.ZodOptional<z.ZodString>; image_48: z.ZodOptional<z.ZodString>; image_72: z.ZodOptional<z.ZodString>; image_192: z.ZodOptional<z.ZodString>; image_512: z.ZodOptional<z.ZodString>; image_1024: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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<string, unknown> | 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<z.ZodBoolean>; is_owner: z.ZodOptional<z.ZodBoolean>; is_primary_owner: z.ZodOptional<z.ZodBoolean>; is_restricted: z.ZodOptional<z.ZodBoolean>; is_ultra_restricted: z.ZodOptional<z.ZodBoolean>; is_bot: z.ZodOptional<z.ZodBoolean>; is_app_user: z.ZodOptional<z.ZodBoolean>; updated: z.ZodOptional<z.ZodNumber>; has_2fa: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodArray<z.ZodObject<{ id: z.ZodString; team_id: z.ZodOptional<z.ZodString>; name: z.ZodString; deleted: z.ZodOptional<z.ZodBoolean>; color: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; tz: z.ZodOptional<z.ZodString>; tz_label: z.ZodOptional<z.ZodString>; tz_offset: z.ZodOptional<z.ZodNumber>; profile: z.ZodOptional<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; skype: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; real_name_normalized: z.ZodOptional<z.ZodString>; display_name: z.ZodOptional<z.ZodString>; display_name_normalized: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; status_text: z.ZodOptional<z.ZodString>; status_emoji: z.ZodOptional<z.ZodString>; status_expiration: z.ZodOptional<z.ZodNumber>; avatar_hash: z.ZodOptional<z.ZodString>; image_original: z.ZodOptional<z.ZodString>; is_custom_image: z.ZodOptional<z.ZodBoolean>; email: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; image_24: z.ZodOptional<z.ZodString>; image_32: z.ZodOptional<z.ZodString>; image_48: z.ZodOptional<z.ZodString>; image_72: z.ZodOptional<z.ZodString>; image_192: z.ZodOptional<z.ZodString>; image_512: z.ZodOptional<z.ZodString>; image_1024: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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<string, unknown> | 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<z.ZodBoolean>; is_owner: z.ZodOptional<z.ZodBoolean>; is_primary_owner: z.ZodOptional<z.ZodBoolean>; is_restricted: z.ZodOptional<z.ZodBoolean>; is_ultra_restricted: z.ZodOptional<z.ZodBoolean>; is_bot: z.ZodOptional<z.ZodBoolean>; is_app_user: z.ZodOptional<z.ZodBoolean>; updated: z.ZodOptional<z.ZodNumber>; has_2fa: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodArray<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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<z.ZodBoolean>; response_metadata: z.ZodOptional<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_thread_replies">; ok: z.ZodBoolean; messages: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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<z.ZodBoolean>; response_metadata: z.ZodOptional<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "update_message"; ok: boolean; message?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_message"; ok: boolean; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "delete_message"; ok: boolean; channel?: string | undefined; ts?: 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodBoolean>; 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<z.ZodObject<{ id: z.ZodString; created: z.ZodNumber; timestamp: z.ZodNumber; name: z.ZodString; title: z.ZodOptional<z.ZodString>; 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<z.ZodString>; shares: z.ZodOptional<z.ZodObject<{ public: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ reply_users: z.ZodArray<z.ZodString, "many">; 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; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }>, "many">>>; private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ reply_users: z.ZodArray<z.ZodString, "many">; 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; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }>, "many">>>; }, "strip", z.ZodTypeAny, { public?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; }, { public?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; }>>; channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; ims: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; has_rich_preview: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; user: string; username: string; timestamp: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; }, { name: string; id: string; user: string; username: string; timestamp: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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<z.ZodString>; scheduled_message_id: z.ZodOptional<z.ZodString>; post_at: z.ZodOptional<z.ZodNumber>; 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodString; filetype: z.ZodString; size: z.ZodNumber; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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<z.ZodString>; filename: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; 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; }>]>; 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<Extract<SlackResult, { operation: T['operation']; }>>; private resolveChannelId; private static readonly MAX_BLOCKS_PER_MESSAGE; private sendMessage; 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; private openDmConversation; protected chooseCredential(): string | undefined; private makeSlackApiCall; }
370
+ export type ServiceBubbleParams<T = unknown> = T & { credentials?: CredentialOptions; retries?: number; }; declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; channel: z.ZodString; text: z.ZodString; username: z.ZodOptional<z.ZodString>; icon_emoji: z.ZodOptional<z.ZodString>; icon_url: z.ZodOptional<z.ZodString>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ color: z.ZodOptional<z.ZodString>; pretext: z.ZodOptional<z.ZodString>; author_name: z.ZodOptional<z.ZodString>; author_link: z.ZodOptional<z.ZodString>; author_icon: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; title_link: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ title: z.ZodString; value: z.ZodString; short: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional<z.ZodString>; thumb_url: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; footer_icon: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; thread_ts: z.ZodOptional<z.ZodString>; reply_broadcast: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { text: string; operation: "send_message"; channel: string; reply_broadcast: boolean; unfurl_links: boolean; unfurl_media: boolean; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "send_message"; channel: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; reply_broadcast?: boolean | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; types: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["public_channel", "private_channel", "mpim", "im"]>, "many">>>; exclude_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { types: ("public_channel" | "private_channel" | "mpim" | "im")[]; operation: "list_channels"; exclude_archived: boolean; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_channels"; types?: ("public_channel" | "private_channel" | "mpim" | "im")[] | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_channel_info"; channel: string; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_channel_info"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_info">; user: z.ZodString; include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { user: string; operation: "get_user_info"; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { user: string; operation: "get_user_info"; credentials?: Partial<Record<CredentialType, string>> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; limit: number; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_users"; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; oldest: z.ZodOptional<z.ZodString>; inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_conversation_history"; channel: string; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_conversation_history"; channel: string; inclusive?: boolean | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; oldest: z.ZodOptional<z.ZodString>; inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_thread_replies"; channel: string; ts: string; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_thread_replies"; channel: string; ts: string; inclusive?: boolean | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ color: z.ZodOptional<z.ZodString>; pretext: z.ZodOptional<z.ZodString>; author_name: z.ZodOptional<z.ZodString>; author_link: z.ZodOptional<z.ZodString>; author_icon: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; title_link: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ title: z.ZodString; value: z.ZodString; short: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional<z.ZodString>; thumb_url: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; footer_icon: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { operation: "update_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; channel: z.ZodString; ts: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"join_channel">; channel: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "join_channel"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "join_channel"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_file">; channel: z.ZodString; file_path: z.ZodOptional<z.ZodString>; content: z.ZodOptional<z.ZodString>; filename: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; initial_comment: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "upload_file"; channel: string; title?: string | undefined; content?: string | undefined; credentials?: Partial<Record<CredentialType, 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; content?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; thread_ts?: string | 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; thread_ts: z.ZodOptional<z.ZodString>; blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { text: string; operation: "schedule_message"; channel: string; unfurl_links: boolean; unfurl_media: boolean; post_at: number; credentials?: Partial<Record<CredentialType, string>> | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "schedule_message"; channel: string; post_at: number; credentials?: Partial<Record<CredentialType, string>> | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_info">; file_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_file_info"; file_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_file_info"; file_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"download_file">; file_url: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "download_file"; credentials?: Partial<Record<CredentialType, string>> | undefined; file_id?: string | undefined; file_url?: string | undefined; }, { operation: "download_file"; credentials?: Partial<Record<CredentialType, string>> | undefined; file_id?: string | undefined; file_url?: string | undefined; }>]>; declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; ok: z.ZodBoolean; channels: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodObject<{ id: z.ZodString; team_id: z.ZodOptional<z.ZodString>; name: z.ZodString; deleted: z.ZodOptional<z.ZodBoolean>; color: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; tz: z.ZodOptional<z.ZodString>; tz_label: z.ZodOptional<z.ZodString>; tz_offset: z.ZodOptional<z.ZodNumber>; profile: z.ZodOptional<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; skype: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; real_name_normalized: z.ZodOptional<z.ZodString>; display_name: z.ZodOptional<z.ZodString>; display_name_normalized: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; status_text: z.ZodOptional<z.ZodString>; status_emoji: z.ZodOptional<z.ZodString>; status_expiration: z.ZodOptional<z.ZodNumber>; avatar_hash: z.ZodOptional<z.ZodString>; image_original: z.ZodOptional<z.ZodString>; is_custom_image: z.ZodOptional<z.ZodBoolean>; email: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; image_24: z.ZodOptional<z.ZodString>; image_32: z.ZodOptional<z.ZodString>; image_48: z.ZodOptional<z.ZodString>; image_72: z.ZodOptional<z.ZodString>; image_192: z.ZodOptional<z.ZodString>; image_512: z.ZodOptional<z.ZodString>; image_1024: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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<string, unknown> | 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<z.ZodBoolean>; is_owner: z.ZodOptional<z.ZodBoolean>; is_primary_owner: z.ZodOptional<z.ZodBoolean>; is_restricted: z.ZodOptional<z.ZodBoolean>; is_ultra_restricted: z.ZodOptional<z.ZodBoolean>; is_bot: z.ZodOptional<z.ZodBoolean>; is_app_user: z.ZodOptional<z.ZodBoolean>; updated: z.ZodOptional<z.ZodNumber>; has_2fa: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodArray<z.ZodObject<{ id: z.ZodString; team_id: z.ZodOptional<z.ZodString>; name: z.ZodString; deleted: z.ZodOptional<z.ZodBoolean>; color: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; tz: z.ZodOptional<z.ZodString>; tz_label: z.ZodOptional<z.ZodString>; tz_offset: z.ZodOptional<z.ZodNumber>; profile: z.ZodOptional<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; skype: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; real_name_normalized: z.ZodOptional<z.ZodString>; display_name: z.ZodOptional<z.ZodString>; display_name_normalized: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; status_text: z.ZodOptional<z.ZodString>; status_emoji: z.ZodOptional<z.ZodString>; status_expiration: z.ZodOptional<z.ZodNumber>; avatar_hash: z.ZodOptional<z.ZodString>; image_original: z.ZodOptional<z.ZodString>; is_custom_image: z.ZodOptional<z.ZodBoolean>; email: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; image_24: z.ZodOptional<z.ZodString>; image_32: z.ZodOptional<z.ZodString>; image_48: z.ZodOptional<z.ZodString>; image_72: z.ZodOptional<z.ZodString>; image_192: z.ZodOptional<z.ZodString>; image_512: z.ZodOptional<z.ZodString>; image_1024: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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<string, unknown> | 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<z.ZodBoolean>; is_owner: z.ZodOptional<z.ZodBoolean>; is_primary_owner: z.ZodOptional<z.ZodBoolean>; is_restricted: z.ZodOptional<z.ZodBoolean>; is_ultra_restricted: z.ZodOptional<z.ZodBoolean>; is_bot: z.ZodOptional<z.ZodBoolean>; is_app_user: z.ZodOptional<z.ZodBoolean>; updated: z.ZodOptional<z.ZodNumber>; has_2fa: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodArray<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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<z.ZodBoolean>; response_metadata: z.ZodOptional<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_thread_replies">; ok: z.ZodBoolean; messages: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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<z.ZodBoolean>; response_metadata: z.ZodOptional<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "update_message"; ok: boolean; message?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_message"; ok: boolean; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "delete_message"; ok: boolean; channel?: string | undefined; ts?: 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodBoolean>; 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<z.ZodObject<{ id: z.ZodString; created: z.ZodNumber; timestamp: z.ZodNumber; name: z.ZodString; title: z.ZodOptional<z.ZodString>; 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<z.ZodString>; shares: z.ZodOptional<z.ZodObject<{ public: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ reply_users: z.ZodArray<z.ZodString, "many">; 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; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }>, "many">>>; private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ reply_users: z.ZodArray<z.ZodString, "many">; 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; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }>, "many">>>; }, "strip", z.ZodTypeAny, { public?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; }, { public?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; }>>; channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; ims: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; has_rich_preview: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; user: string; username: string; timestamp: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; }, { name: string; id: string; user: string; username: string; timestamp: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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<z.ZodString>; scheduled_message_id: z.ZodOptional<z.ZodString>; post_at: z.ZodOptional<z.ZodNumber>; 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodString; filetype: z.ZodString; size: z.ZodNumber; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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<z.ZodString>; filename: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; 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; }>]>; type SlackResult = z.output<typeof SlackResultSchema>; type SlackParams = z.input<typeof SlackParamsSchema>;; export type SlackOperationResult<T extends SlackParams['operation']> = Extract<SlackResult, { operation: T; }>; export declare class SlackBubble<T extends SlackParams = SlackParams> extends ServiceBubble<T, Extract<SlackResult, { operation: T['operation']; }>> { testCredential(): Promise<boolean>; 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<z.ZodString>; icon_emoji: z.ZodOptional<z.ZodString>; icon_url: z.ZodOptional<z.ZodString>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ color: z.ZodOptional<z.ZodString>; pretext: z.ZodOptional<z.ZodString>; author_name: z.ZodOptional<z.ZodString>; author_link: z.ZodOptional<z.ZodString>; author_icon: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; title_link: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ title: z.ZodString; value: z.ZodString; short: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional<z.ZodString>; thumb_url: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; footer_icon: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; thread_ts: z.ZodOptional<z.ZodString>; reply_broadcast: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { text: string; operation: "send_message"; channel: string; reply_broadcast: boolean; unfurl_links: boolean; unfurl_media: boolean; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "send_message"; channel: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; reply_broadcast?: boolean | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; types: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["public_channel", "private_channel", "mpim", "im"]>, "many">>>; exclude_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { types: ("public_channel" | "private_channel" | "mpim" | "im")[]; operation: "list_channels"; exclude_archived: boolean; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_channels"; types?: ("public_channel" | "private_channel" | "mpim" | "im")[] | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_channel_info"; channel: string; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_channel_info"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_info">; user: z.ZodString; include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { user: string; operation: "get_user_info"; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { user: string; operation: "get_user_info"; credentials?: Partial<Record<CredentialType, string>> | undefined; include_locale?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; limit: number; include_locale: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_users"; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; oldest: z.ZodOptional<z.ZodString>; inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_conversation_history"; channel: string; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_conversation_history"; channel: string; inclusive?: boolean | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; oldest: z.ZodOptional<z.ZodString>; inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { inclusive: boolean; operation: "get_thread_replies"; channel: string; ts: string; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; latest?: string | undefined; oldest?: string | undefined; }, { operation: "get_thread_replies"; channel: string; ts: string; inclusive?: boolean | undefined; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodString>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ color: z.ZodOptional<z.ZodString>; pretext: z.ZodOptional<z.ZodString>; author_name: z.ZodOptional<z.ZodString>; author_link: z.ZodOptional<z.ZodString>; author_icon: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; title_link: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ title: z.ZodString; value: z.ZodString; short: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { value: string; title: string; short?: boolean | undefined; }, { value: string; title: string; short?: boolean | undefined; }>, "many">>; image_url: z.ZodOptional<z.ZodString>; thumb_url: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; footer_icon: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { operation: "update_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | 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<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; channel: z.ZodString; ts: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_message"; channel: string; ts: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { name: string; operation: "add_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_reaction">; name: z.ZodString; channel: z.ZodString; timestamp: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { name: string; operation: "remove_reaction"; channel: string; timestamp: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"join_channel">; channel: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "join_channel"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "join_channel"; channel: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"upload_file">; channel: z.ZodString; file_path: z.ZodOptional<z.ZodString>; content: z.ZodOptional<z.ZodString>; filename: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; initial_comment: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "upload_file"; channel: string; title?: string | undefined; content?: string | undefined; credentials?: Partial<Record<CredentialType, 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; content?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; thread_ts?: string | 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; thread_ts: z.ZodOptional<z.ZodString>; blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>, "many">>; unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { text: string; operation: "schedule_message"; channel: string; unfurl_links: boolean; unfurl_media: boolean; post_at: number; credentials?: Partial<Record<CredentialType, string>> | undefined; blocks?: z.objectOutputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; }, { text: string; operation: "schedule_message"; channel: string; post_at: number; credentials?: Partial<Record<CredentialType, string>> | undefined; blocks?: z.objectInputType<{ type: z.ZodString; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>; text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; alt_text: z.ZodOptional<z.ZodString>; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }, { type: "image" | "plain_text" | "mrkdwn"; emoji?: boolean | undefined; text?: string | undefined; image_url?: string | undefined; verbatim?: boolean | undefined; alt_text?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">[] | undefined; thread_ts?: string | undefined; unfurl_links?: boolean | undefined; unfurl_media?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_info">; file_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_file_info"; file_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_file_info"; file_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"download_file">; file_url: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "download_file"; credentials?: Partial<Record<CredentialType, string>> | undefined; file_id?: string | undefined; file_url?: string | undefined; }, { operation: "download_file"; credentials?: Partial<Record<CredentialType, string>> | undefined; file_id?: string | undefined; file_url?: string | undefined; }>]>; static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"send_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_channels">; ok: z.ZodBoolean; channels: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodObject<{ id: z.ZodString; team_id: z.ZodOptional<z.ZodString>; name: z.ZodString; deleted: z.ZodOptional<z.ZodBoolean>; color: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; tz: z.ZodOptional<z.ZodString>; tz_label: z.ZodOptional<z.ZodString>; tz_offset: z.ZodOptional<z.ZodNumber>; profile: z.ZodOptional<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; skype: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; real_name_normalized: z.ZodOptional<z.ZodString>; display_name: z.ZodOptional<z.ZodString>; display_name_normalized: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; status_text: z.ZodOptional<z.ZodString>; status_emoji: z.ZodOptional<z.ZodString>; status_expiration: z.ZodOptional<z.ZodNumber>; avatar_hash: z.ZodOptional<z.ZodString>; image_original: z.ZodOptional<z.ZodString>; is_custom_image: z.ZodOptional<z.ZodBoolean>; email: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; image_24: z.ZodOptional<z.ZodString>; image_32: z.ZodOptional<z.ZodString>; image_48: z.ZodOptional<z.ZodString>; image_72: z.ZodOptional<z.ZodString>; image_192: z.ZodOptional<z.ZodString>; image_512: z.ZodOptional<z.ZodString>; image_1024: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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<string, unknown> | 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<z.ZodBoolean>; is_owner: z.ZodOptional<z.ZodBoolean>; is_primary_owner: z.ZodOptional<z.ZodBoolean>; is_restricted: z.ZodOptional<z.ZodBoolean>; is_ultra_restricted: z.ZodOptional<z.ZodBoolean>; is_bot: z.ZodOptional<z.ZodBoolean>; is_app_user: z.ZodOptional<z.ZodBoolean>; updated: z.ZodOptional<z.ZodNumber>; has_2fa: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodArray<z.ZodObject<{ id: z.ZodString; team_id: z.ZodOptional<z.ZodString>; name: z.ZodString; deleted: z.ZodOptional<z.ZodBoolean>; color: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; tz: z.ZodOptional<z.ZodString>; tz_label: z.ZodOptional<z.ZodString>; tz_offset: z.ZodOptional<z.ZodNumber>; profile: z.ZodOptional<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; skype: z.ZodOptional<z.ZodString>; real_name: z.ZodOptional<z.ZodString>; real_name_normalized: z.ZodOptional<z.ZodString>; display_name: z.ZodOptional<z.ZodString>; display_name_normalized: z.ZodOptional<z.ZodString>; fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; status_text: z.ZodOptional<z.ZodString>; status_emoji: z.ZodOptional<z.ZodString>; status_expiration: z.ZodOptional<z.ZodNumber>; avatar_hash: z.ZodOptional<z.ZodString>; image_original: z.ZodOptional<z.ZodString>; is_custom_image: z.ZodOptional<z.ZodBoolean>; email: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; image_24: z.ZodOptional<z.ZodString>; image_32: z.ZodOptional<z.ZodString>; image_48: z.ZodOptional<z.ZodString>; image_72: z.ZodOptional<z.ZodString>; image_192: z.ZodOptional<z.ZodString>; image_512: z.ZodOptional<z.ZodString>; image_1024: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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<string, unknown> | 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<z.ZodBoolean>; is_owner: z.ZodOptional<z.ZodBoolean>; is_primary_owner: z.ZodOptional<z.ZodBoolean>; is_restricted: z.ZodOptional<z.ZodBoolean>; is_ultra_restricted: z.ZodOptional<z.ZodBoolean>; is_bot: z.ZodOptional<z.ZodBoolean>; is_app_user: z.ZodOptional<z.ZodBoolean>; updated: z.ZodOptional<z.ZodNumber>; has_2fa: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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; 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; profile?: { title?: string | undefined; email?: string | undefined; fields?: Record<string, unknown> | 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; 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<z.ZodArray<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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<z.ZodBoolean>; response_metadata: z.ZodOptional<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_conversation_history"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_thread_replies">; ok: z.ZodBoolean; messages: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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<z.ZodBoolean>; response_metadata: z.ZodOptional<z.ZodObject<{ next_cursor: z.ZodString; }, "strip", z.ZodTypeAny, { next_cursor: string; }, { next_cursor: string; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "get_thread_replies"; ok: boolean; messages?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; response_metadata?: { next_cursor: string; } | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodObject<{ type: z.ZodString; ts: z.ZodOptional<z.ZodString>; user: z.ZodOptional<z.ZodString>; bot_id: z.ZodOptional<z.ZodString>; bot_profile: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; }, { name?: string | undefined; }>>; username: z.ZodOptional<z.ZodString>; text: z.ZodOptional<z.ZodString>; thread_ts: z.ZodOptional<z.ZodString>; parent_user_id: z.ZodOptional<z.ZodString>; reply_count: z.ZodOptional<z.ZodNumber>; reply_users_count: z.ZodOptional<z.ZodNumber>; latest_reply: z.ZodOptional<z.ZodString>; reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_locked: z.ZodOptional<z.ZodBoolean>; subscribed: z.ZodOptional<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>; reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; users: z.ZodArray<z.ZodString, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; users: string[]; count: number; }, { name: string; users: string[]; count: number; }>, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; filetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "update_message"; ok: boolean; message?: { type: string; user?: string | undefined; text?: string | undefined; username?: string | undefined; ts?: 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; users: string[]; count: number; }[] | 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; channel?: string | undefined; ts?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_message">; ok: z.ZodBoolean; channel: z.ZodOptional<z.ZodString>; ts: z.ZodOptional<z.ZodString>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_message"; ok: boolean; channel?: string | undefined; ts?: string | undefined; }, { error: string; success: boolean; operation: "delete_message"; ok: boolean; channel?: string | undefined; ts?: 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_channel: z.ZodOptional<z.ZodBoolean>; is_group: z.ZodOptional<z.ZodBoolean>; is_im: z.ZodOptional<z.ZodBoolean>; is_mpim: z.ZodOptional<z.ZodBoolean>; is_private: z.ZodOptional<z.ZodBoolean>; created: z.ZodNumber; is_archived: z.ZodBoolean; is_general: z.ZodOptional<z.ZodBoolean>; unlinked: z.ZodOptional<z.ZodNumber>; name_normalized: z.ZodOptional<z.ZodString>; is_shared: z.ZodOptional<z.ZodBoolean>; is_ext_shared: z.ZodOptional<z.ZodBoolean>; is_org_shared: z.ZodOptional<z.ZodBoolean>; shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>; is_member: z.ZodOptional<z.ZodBoolean>; is_open: z.ZodOptional<z.ZodBoolean>; topic: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; purpose: z.ZodOptional<z.ZodObject<{ value: z.ZodString; creator: z.ZodString; last_set: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; creator: string; last_set: number; }, { value: string; creator: string; last_set: number; }>>; num_members: z.ZodOptional<z.ZodNumber>; }, "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<z.ZodBoolean>; 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<z.ZodObject<{ id: z.ZodString; created: z.ZodNumber; timestamp: z.ZodNumber; name: z.ZodString; title: z.ZodOptional<z.ZodString>; 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<z.ZodString>; shares: z.ZodOptional<z.ZodObject<{ public: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ reply_users: z.ZodArray<z.ZodString, "many">; 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; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }>, "many">>>; private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{ reply_users: z.ZodArray<z.ZodString, "many">; 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; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }>, "many">>>; }, "strip", z.ZodTypeAny, { public?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; }, { public?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; }>>; channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; ims: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; has_rich_preview: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; id: string; user: string; username: string; timestamp: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; } | undefined; groups?: string[] | undefined; ims?: string[] | undefined; has_rich_preview?: boolean | undefined; }, { name: string; id: string; user: string; username: string; timestamp: number; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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; mimetype: string; filetype: string; size: number; url_private: string; url_private_download: string; permalink: string; created: number; 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<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | undefined; private?: Record<string, { ts: string; reply_count: number; reply_users_count: number; reply_users: string[]; team_id: string; channel_name: string; }[]> | 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<z.ZodString>; scheduled_message_id: z.ZodOptional<z.ZodString>; post_at: z.ZodOptional<z.ZodNumber>; 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<z.ZodObject<{ id: z.ZodString; name: z.ZodString; title: z.ZodOptional<z.ZodString>; mimetype: z.ZodString; filetype: z.ZodString; size: z.ZodNumber; user: z.ZodOptional<z.ZodString>; url_private: z.ZodOptional<z.ZodString>; url_private_download: z.ZodOptional<z.ZodString>; thumb_64: z.ZodOptional<z.ZodString>; thumb_360: z.ZodOptional<z.ZodString>; thumb_480: z.ZodOptional<z.ZodString>; original_w: z.ZodOptional<z.ZodNumber>; original_h: z.ZodOptional<z.ZodNumber>; permalink: z.ZodOptional<z.ZodString>; }, "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<z.ZodString>; filename: z.ZodOptional<z.ZodString>; mimetype: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodNumber>; 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; }>]>; 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<Extract<SlackResult, { operation: T['operation']; }>>; private resolveChannelId; private static readonly MAX_BLOCKS_PER_MESSAGE; private static buildFooterBlocks; private sendMessage; 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; private openDmConversation; protected chooseCredential(): string | undefined; private makeSlackApiCall; }
371
371
  export {}; export interface SlackTextObject { type: 'plain_text' | 'mrkdwn'; text: string; emoji?: boolean; verbatim?: boolean; }
372
372
  export interface SlackSectionBlock { type: 'section'; text: SlackTextObject; }
373
373
  export interface SlackDividerBlock { type: 'divider'; }
@@ -456,7 +456,7 @@ export interface IInfraBubble extends IBubble { readonly type: 'infra'; provider
456
456
  export type BubbleFlowOperationResult = unknown; export interface BubbleContext { logger?: BubbleLogger; variableId?: number; invocationCallSiteKey?: string; dependencyGraph?: DependencyGraphNode; currentUniqueId?: string; __uniqueIdCounters__?: Record<string, number>; [key: string]: unknown; }
457
457
  export type ServiceBubbleParams<T = unknown> = T & { credentials?: CredentialOptions; retries?: number; }; export declare abstract class BaseBubble<TParams = unknown, TResult extends BubbleOperationResult = BubbleOperationResult> implements IBubble<TResult> { readonly name: string; readonly schema: z.ZodObject<z.ZodRawShape>; readonly resultSchema: z.ZodObject<z.ZodRawShape>; readonly shortDescription: string; readonly longDescription: string; readonly alias?: string; abstract readonly type: 'service' | 'workflow' | 'tool' | 'ui' | 'infra'; protected readonly params: TParams; protected context?: BubbleContext; previousResult: BubbleResult<BubbleOperationResult> | undefined; protected readonly instanceId?: string; constructor(params: unknown, context?: BubbleContext, instanceId?: string); private computeChildContext; saveResult<R extends BubbleOperationResult>(result: BubbleResult<R>): void; clearSavedResult(): void; toJSON(): Record<string, unknown>; action(): Promise<BubbleResult<TResult>>; generateMockResult(): BubbleResult<TResult>; generateMockResultWithSeed(seed: number): BubbleResult<TResult>; protected abstract performAction(context?: BubbleContext): Promise<TResult>; }
458
458
  export declare abstract class WorkflowBubble<TParams extends ServiceBubbleParams = ServiceBubbleParams, TResult extends BubbleOperationResult = BubbleOperationResult> extends BaseBubble<TParams, TResult> implements IWorkflowBubble<TResult> { readonly type: "workflow"; constructor(params: unknown, context?: BubbleContext, instanceId?: string); get currentParams(): TParams; get currentContext(): BubbleContext | undefined; }
459
- declare const SlackFormatterAgentParamsSchema: z.ZodObject<{ message: z.ZodString; verbosity: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>; technicality: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>; includeBlockKit: z.ZodDefault<z.ZodBoolean>; includeQuery: z.ZodDefault<z.ZodBoolean>; includeExplanation: z.ZodDefault<z.ZodBoolean>; model: z.ZodDefault<z.ZodObject<{ model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>; temperature: z.ZodDefault<z.ZodNumber>; maxTokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; temperature: number; maxTokens: number; }, { model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; }>>; tools: z.ZodDefault<z.ZodArray<z.ZodObject<{ name: z.ZodString; credentials: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>>; config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }, { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }>, "many">>; maxIterations: z.ZodDefault<z.ZodNumber>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; additionalContext: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; model: { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; temperature: number; maxTokens: number; }; tools: { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }[]; maxIterations: number; verbosity: "1" | "2" | "3" | "4" | "5"; technicality: "1" | "2" | "3" | "4" | "5"; includeBlockKit: boolean; includeQuery: boolean; includeExplanation: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; additionalContext?: string | undefined; }, { message: string; model?: { model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; } | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; tools?: { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }[] | undefined; maxIterations?: number | undefined; verbosity?: "1" | "2" | "3" | "4" | "5" | undefined; technicality?: "1" | "2" | "3" | "4" | "5" | undefined; includeBlockKit?: boolean | undefined; includeQuery?: boolean | undefined; includeExplanation?: boolean | undefined; additionalContext?: string | undefined; }>; declare const SlackFormatterAgentResultSchema: z.ZodObject<{ response: z.ZodString; blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["section", "header", "divider", "context", "actions", "input", "file", "image", "table"]>; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>>; block_id: z.ZodOptional<z.ZodString>; accessory: z.ZodOptional<z.ZodUnknown>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>, "many">>; element: z.ZodOptional<z.ZodUnknown>; label: z.ZodOptional<z.ZodUnknown>; hint: z.ZodOptional<z.ZodUnknown>; optional: z.ZodOptional<z.ZodBoolean>; alt_text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "plain_text"; text: string; emoji?: boolean | undefined; }, { type: "plain_text"; text: string; emoji?: boolean | undefined; }>>; elements: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }, { type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }>, "many">>; metadata: z.ZodObject<{ verbosityLevel: z.ZodString; technicalityLevel: z.ZodString; wordCount: z.ZodNumber; blockCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }, { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }>; toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{ tool: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; }, "strip", z.ZodTypeAny, { tool: string; input?: unknown; output?: unknown; }, { tool: string; input?: unknown; output?: unknown; }>, "many">>; iterations: z.ZodNumber; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; response: string; iterations: number; metadata: { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }; toolCalls?: { tool: string; input?: unknown; output?: unknown; }[] | undefined; blocks?: { type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }[] | undefined; }, { error: string; success: boolean; response: string; iterations: number; metadata: { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }; toolCalls?: { tool: string; input?: unknown; output?: unknown; }[] | undefined; blocks?: { type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }[] | undefined; }>; type SlackFormatterAgentParams = z.input<typeof SlackFormatterAgentParamsSchema>;; type SlackFormatterAgentParamsParsed = z.output<typeof SlackFormatterAgentParamsSchema>; type SlackFormatterAgentResult = z.output<typeof SlackFormatterAgentResultSchema>; export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackFormatterAgentParamsParsed, SlackFormatterAgentResult> { static readonly type: "service"; static readonly service = "slack-formatter-agent"; static readonly authType: "apikey"; static readonly bubbleName: BubbleName; static readonly schema: z.ZodObject<{ message: z.ZodString; verbosity: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>; technicality: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>; includeBlockKit: z.ZodDefault<z.ZodBoolean>; includeQuery: z.ZodDefault<z.ZodBoolean>; includeExplanation: z.ZodDefault<z.ZodBoolean>; model: z.ZodDefault<z.ZodObject<{ model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>; temperature: z.ZodDefault<z.ZodNumber>; maxTokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; temperature: number; maxTokens: number; }, { model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; }>>; tools: z.ZodDefault<z.ZodArray<z.ZodObject<{ name: z.ZodString; credentials: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>>; config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }, { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }>, "many">>; maxIterations: z.ZodDefault<z.ZodNumber>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; additionalContext: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; model: { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; temperature: number; maxTokens: number; }; tools: { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }[]; maxIterations: number; verbosity: "1" | "2" | "3" | "4" | "5"; technicality: "1" | "2" | "3" | "4" | "5"; includeBlockKit: boolean; includeQuery: boolean; includeExplanation: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; additionalContext?: string | undefined; }, { message: string; model?: { model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; } | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; tools?: { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }[] | undefined; maxIterations?: number | undefined; verbosity?: "1" | "2" | "3" | "4" | "5" | undefined; technicality?: "1" | "2" | "3" | "4" | "5" | undefined; includeBlockKit?: boolean | undefined; includeQuery?: boolean | undefined; includeExplanation?: boolean | undefined; additionalContext?: string | undefined; }>; static readonly resultSchema: z.ZodObject<{ response: z.ZodString; blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["section", "header", "divider", "context", "actions", "input", "file", "image", "table"]>; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>>; block_id: z.ZodOptional<z.ZodString>; accessory: z.ZodOptional<z.ZodUnknown>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>, "many">>; element: z.ZodOptional<z.ZodUnknown>; label: z.ZodOptional<z.ZodUnknown>; hint: z.ZodOptional<z.ZodUnknown>; optional: z.ZodOptional<z.ZodBoolean>; alt_text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "plain_text"; text: string; emoji?: boolean | undefined; }, { type: "plain_text"; text: string; emoji?: boolean | undefined; }>>; elements: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }, { type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }>, "many">>; metadata: z.ZodObject<{ verbosityLevel: z.ZodString; technicalityLevel: z.ZodString; wordCount: z.ZodNumber; blockCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }, { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }>; toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{ tool: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; }, "strip", z.ZodTypeAny, { tool: string; input?: unknown; output?: unknown; }, { tool: string; input?: unknown; output?: unknown; }>, "many">>; iterations: z.ZodNumber; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; response: string; iterations: number; metadata: { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }; toolCalls?: { tool: string; input?: unknown; output?: unknown; }[] | undefined; blocks?: { type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }[] | undefined; }, { error: string; success: boolean; response: string; iterations: number; metadata: { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }; toolCalls?: { tool: string; input?: unknown; output?: unknown; }[] | undefined; blocks?: { type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }[] | undefined; }>; static readonly shortDescription = "AI agent for creating well-formatted Slack messages with adjustable verbosity and technicality"; static readonly longDescription = "See bubble documentation for details"; static readonly alias = "slack-format"; private factory; constructor(params?: SlackFormatterAgentParams, context?: BubbleContext); testCredential(): Promise<boolean>; protected performAction(context?: BubbleContext): Promise<SlackFormatterAgentResult>; protected chooseCredential(): string | undefined; private createSlackFormatterPrompt; private initializeModel; private initializeTools; private createAgentGraph; private executeAgent; private extractSlackBlocks; private validateAndFixSlackBlocks; }
459
+ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{ message: z.ZodString; verbosity: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>; technicality: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>; includeBlockKit: z.ZodDefault<z.ZodBoolean>; includeQuery: z.ZodDefault<z.ZodBoolean>; includeExplanation: z.ZodDefault<z.ZodBoolean>; model: z.ZodDefault<z.ZodObject<{ model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>; temperature: z.ZodDefault<z.ZodNumber>; maxTokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; temperature: number; maxTokens: number; }, { model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; }>>; tools: z.ZodDefault<z.ZodArray<z.ZodObject<{ name: z.ZodString; credentials: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>>; config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }, { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }>, "many">>; maxIterations: z.ZodDefault<z.ZodNumber>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; additionalContext: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; model: { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; temperature: number; maxTokens: number; }; tools: { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }[]; maxIterations: number; verbosity: "1" | "2" | "3" | "4" | "5"; technicality: "1" | "2" | "3" | "4" | "5"; includeBlockKit: boolean; includeQuery: boolean; includeExplanation: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; additionalContext?: string | undefined; }, { message: string; model?: { model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; } | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; tools?: { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }[] | undefined; maxIterations?: number | undefined; verbosity?: "1" | "2" | "3" | "4" | "5" | undefined; technicality?: "1" | "2" | "3" | "4" | "5" | undefined; includeBlockKit?: boolean | undefined; includeQuery?: boolean | undefined; includeExplanation?: boolean | undefined; additionalContext?: string | undefined; }>; declare const SlackFormatterAgentResultSchema: z.ZodObject<{ response: z.ZodString; blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["section", "header", "divider", "context", "actions", "input", "file", "image", "table"]>; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>>; block_id: z.ZodOptional<z.ZodString>; accessory: z.ZodOptional<z.ZodUnknown>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>, "many">>; element: z.ZodOptional<z.ZodUnknown>; label: z.ZodOptional<z.ZodUnknown>; hint: z.ZodOptional<z.ZodUnknown>; optional: z.ZodOptional<z.ZodBoolean>; alt_text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "plain_text"; text: string; emoji?: boolean | undefined; }, { type: "plain_text"; text: string; emoji?: boolean | undefined; }>>; elements: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "input" | "image" | "file" | "divider" | "context" | "section" | "header" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }, { type: "input" | "image" | "file" | "divider" | "context" | "section" | "header" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }>, "many">>; metadata: z.ZodObject<{ verbosityLevel: z.ZodString; technicalityLevel: z.ZodString; wordCount: z.ZodNumber; blockCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }, { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }>; toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{ tool: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; }, "strip", z.ZodTypeAny, { tool: string; input?: unknown; output?: unknown; }, { tool: string; input?: unknown; output?: unknown; }>, "many">>; iterations: z.ZodNumber; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; response: string; iterations: number; metadata: { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }; toolCalls?: { tool: string; input?: unknown; output?: unknown; }[] | undefined; blocks?: { type: "input" | "image" | "file" | "divider" | "context" | "section" | "header" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }[] | undefined; }, { error: string; success: boolean; response: string; iterations: number; metadata: { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }; toolCalls?: { tool: string; input?: unknown; output?: unknown; }[] | undefined; blocks?: { type: "input" | "image" | "file" | "divider" | "context" | "section" | "header" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }[] | undefined; }>; type SlackFormatterAgentParams = z.input<typeof SlackFormatterAgentParamsSchema>;; type SlackFormatterAgentParamsParsed = z.output<typeof SlackFormatterAgentParamsSchema>; type SlackFormatterAgentResult = z.output<typeof SlackFormatterAgentResultSchema>; export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackFormatterAgentParamsParsed, SlackFormatterAgentResult> { static readonly type: "service"; static readonly service = "slack-formatter-agent"; static readonly authType: "apikey"; static readonly bubbleName: BubbleName; static readonly schema: z.ZodObject<{ message: z.ZodString; verbosity: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>; technicality: z.ZodDefault<z.ZodEnum<["1", "2", "3", "4", "5"]>>; includeBlockKit: z.ZodDefault<z.ZodBoolean>; includeQuery: z.ZodDefault<z.ZodBoolean>; includeExplanation: z.ZodDefault<z.ZodBoolean>; model: z.ZodDefault<z.ZodObject<{ model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>; temperature: z.ZodDefault<z.ZodNumber>; maxTokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; temperature: number; maxTokens: number; }, { model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; }>>; tools: z.ZodDefault<z.ZodArray<z.ZodObject<{ name: z.ZodString; credentials: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>>; config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }, { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }>, "many">>; maxIterations: z.ZodDefault<z.ZodNumber>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; additionalContext: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; model: { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; temperature: number; maxTokens: number; }; tools: { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }[]; maxIterations: number; verbosity: "1" | "2" | "3" | "4" | "5"; technicality: "1" | "2" | "3" | "4" | "5"; includeBlockKit: boolean; includeQuery: boolean; includeExplanation: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; additionalContext?: string | undefined; }, { message: string; model?: { model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; } | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; tools?: { name: string; credentials?: Partial<Record<CredentialType, string>> | undefined; config?: Record<string, unknown> | undefined; }[] | undefined; maxIterations?: number | undefined; verbosity?: "1" | "2" | "3" | "4" | "5" | undefined; technicality?: "1" | "2" | "3" | "4" | "5" | undefined; includeBlockKit?: boolean | undefined; includeQuery?: boolean | undefined; includeExplanation?: boolean | undefined; additionalContext?: string | undefined; }>; static readonly resultSchema: z.ZodObject<{ response: z.ZodString; blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["section", "header", "divider", "context", "actions", "input", "file", "image", "table"]>; text: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>>; block_id: z.ZodOptional<z.ZodString>; accessory: z.ZodOptional<z.ZodUnknown>; fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>, "many">>; element: z.ZodOptional<z.ZodUnknown>; label: z.ZodOptional<z.ZodUnknown>; hint: z.ZodOptional<z.ZodUnknown>; optional: z.ZodOptional<z.ZodBoolean>; alt_text: z.ZodOptional<z.ZodString>; image_url: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["plain_text"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { type: "plain_text"; text: string; emoji?: boolean | undefined; }, { type: "plain_text"; text: string; emoji?: boolean | undefined; }>>; elements: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodEnum<["plain_text", "mrkdwn"]>; text: z.ZodString; emoji: z.ZodOptional<z.ZodBoolean>; verbatim: z.ZodOptional<z.ZodBoolean>; }, "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; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "input" | "image" | "file" | "divider" | "context" | "section" | "header" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }, { type: "input" | "image" | "file" | "divider" | "context" | "section" | "header" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }>, "many">>; metadata: z.ZodObject<{ verbosityLevel: z.ZodString; technicalityLevel: z.ZodString; wordCount: z.ZodNumber; blockCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }, { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }>; toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{ tool: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; }, "strip", z.ZodTypeAny, { tool: string; input?: unknown; output?: unknown; }, { tool: string; input?: unknown; output?: unknown; }>, "many">>; iterations: z.ZodNumber; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; response: string; iterations: number; metadata: { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }; toolCalls?: { tool: string; input?: unknown; output?: unknown; }[] | undefined; blocks?: { type: "input" | "image" | "file" | "divider" | "context" | "section" | "header" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }[] | undefined; }, { error: string; success: boolean; response: string; iterations: number; metadata: { verbosityLevel: string; technicalityLevel: string; wordCount: number; blockCount?: number | undefined; }; toolCalls?: { tool: string; input?: unknown; output?: unknown; }[] | undefined; blocks?: { type: "input" | "image" | "file" | "divider" | "context" | "section" | "header" | "actions" | "table"; title?: { type: "plain_text"; text: string; emoji?: boolean | undefined; } | undefined; optional?: boolean | undefined; text?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; } | undefined; image_url?: string | undefined; fields?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; alt_text?: string | undefined; elements?: { type: "plain_text" | "mrkdwn"; text: string; emoji?: boolean | undefined; verbatim?: boolean | undefined; }[] | undefined; block_id?: string | undefined; accessory?: unknown; element?: unknown; label?: unknown; hint?: unknown; }[] | undefined; }>; static readonly shortDescription = "AI agent for creating well-formatted Slack messages with adjustable verbosity and technicality"; static readonly longDescription = "See bubble documentation for details"; static readonly alias = "slack-format"; private factory; constructor(params?: SlackFormatterAgentParams, context?: BubbleContext); testCredential(): Promise<boolean>; protected performAction(context?: BubbleContext): Promise<SlackFormatterAgentResult>; protected chooseCredential(): string | undefined; private createSlackFormatterPrompt; private initializeModel; private initializeTools; private createAgentGraph; private executeAgent; private extractSlackBlocks; private validateAndFixSlackBlocks; }
460
460
  export {}; export declare abstract class BaseBubble<TParams = unknown, TResult extends BubbleOperationResult = BubbleOperationResult> implements IBubble<TResult> { readonly name: string; readonly schema: z.ZodObject<z.ZodRawShape>; readonly resultSchema: z.ZodObject<z.ZodRawShape>; readonly shortDescription: string; readonly longDescription: string; readonly alias?: string; abstract readonly type: 'service' | 'workflow' | 'tool' | 'ui' | 'infra'; protected readonly params: TParams; protected context?: BubbleContext; previousResult: BubbleResult<BubbleOperationResult> | undefined; protected readonly instanceId?: string; constructor(params: unknown, context?: BubbleContext, instanceId?: string); private computeChildContext; saveResult<R extends BubbleOperationResult>(result: BubbleResult<R>): void; clearSavedResult(): void; toJSON(): Record<string, unknown>; action(): Promise<BubbleResult<TResult>>; generateMockResult(): BubbleResult<TResult>; generateMockResultWithSeed(seed: number): BubbleResult<TResult>; protected abstract performAction(context?: BubbleContext): Promise<TResult>; }
461
461
  export declare abstract class ServiceBubble<TParams extends ServiceBubbleParams = ServiceBubbleParams, TResult extends BubbleOperationResult = BubbleOperationResult> extends BaseBubble<TParams, TResult> { readonly type: "service"; authType?: 'oauth' | 'apikey' | 'none' | 'connection-string'; constructor(params: unknown, context?: BubbleContext, instanceId?: string); abstract testCredential(): Promise<boolean>; protected abstract chooseCredential(): string | undefined; getCredentialMetadata(): Promise<DatabaseMetadata | undefined>; get currentParams(): Omit<TParams, 'credentials'>; setParam<K extends keyof TParams>(paramName: K, paramValue: TParams[K]): void; get currentContext(): BubbleContext | undefined; }
462
462
  export declare class BubbleError extends Error { readonly variableId?: number; readonly bubbleName?: string; constructor(message: string, options?: { variableId?: number; bubbleName?: string; cause?: Error; }); }