/** * Full-featured Slack App Manifest generator (Socket Mode default & HTTP Request URLs). */ export declare const SLACK_DEFAULT_SUGGESTED_PROMPTS: readonly [{ readonly title: "What can you do?"; readonly message: "What can you help me with?"; }, { readonly title: "Summarize this channel"; readonly message: "Summarize the recent activity in this channel."; }, { readonly title: "Draft a reply"; readonly message: "Help me draft a reply."; }]; export declare const SLACK_FULL_BOT_SCOPES: readonly ["app_mentions:read", "assistant:write", "channels:history", "channels:read", "chat:write", "chat:write.customize", "commands", "emoji:read", "files:read", "files:write", "groups:history", "groups:read", "im:history", "im:read", "im:write", "mpim:history", "mpim:read", "mpim:write", "pins:read", "pins:write", "reactions:read", "reactions:write", "usergroups:read", "users:read"]; export declare const SLACK_FULL_BOT_EVENTS: readonly ["app_home_opened", "app_mention", "app_context_changed", "agent_session_stopped", "agent_session_title_changed", "channel_created", "channel_id_changed", "channel_rename", "member_joined_channel", "member_left_channel", "message.channels", "message.groups", "message.im", "message.mpim", "pin_added", "pin_removed", "reaction_added", "reaction_removed"]; export declare const SLACK_NATIVE_SLASH_COMMANDS: readonly [{ readonly command: "/new"; readonly description: "Start a new session"; readonly usage_hint: "[model]"; }, { readonly command: "/reset"; readonly description: "Reset the current session"; }, { readonly command: "/compact"; readonly description: "Compact session context"; readonly usage_hint: "[instructions]"; }, { readonly command: "/stop"; readonly description: "Stop the current run"; }, { readonly command: "/think"; readonly description: "Set thinking level"; readonly usage_hint: ""; }, { readonly command: "/model"; readonly description: "Show or switch model"; readonly usage_hint: "[name|status]"; }, { readonly command: "/models"; readonly description: "List available models"; readonly usage_hint: "[provider]"; }, { readonly command: "/help"; readonly description: "Show help summary"; }, { readonly command: "/agentstatus"; readonly description: "Show runtime and channel status"; }, { readonly command: "/whoami"; readonly description: "Show your Slack identity"; }, { readonly command: "/approve"; readonly description: "Approve or deny a pending request"; readonly usage_hint: " "; }]; export interface BuildSlackManifestOptions { mode?: 'socket' | 'http'; requestUrl?: string; slashCommandName?: string; nativeCommands?: boolean; orgDeployEnabled?: boolean; appName?: string; } export declare function buildSlackAppManifest(options?: BuildSlackManifestOptions): { _metadata: { major_version: number; }; display_information: { name: string; description: string; }; features: { bot_user: { display_name: string; always_online: boolean; }; app_home: { home_tab_enabled: boolean; messages_tab_enabled: boolean; messages_tab_read_only_enabled: boolean; }; agent_view: { agent_description: string; suggested_prompts: ({ title: "What can you do?"; message: "What can you help me with?"; } | { title: "Summarize this channel"; message: "Summarize the recent activity in this channel."; } | { title: "Draft a reply"; message: "Help me draft a reply."; })[]; }; slash_commands: ({ url?: string | undefined; command: "/new"; description: "Start a new session"; usage_hint: "[model]"; } | { url?: string | undefined; command: "/reset"; description: "Reset the current session"; } | { url?: string | undefined; command: "/compact"; description: "Compact session context"; usage_hint: "[instructions]"; } | { url?: string | undefined; command: "/stop"; description: "Stop the current run"; } | { url?: string | undefined; command: "/think"; description: "Set thinking level"; usage_hint: ""; } | { url?: string | undefined; command: "/model"; description: "Show or switch model"; usage_hint: "[name|status]"; } | { url?: string | undefined; command: "/models"; description: "List available models"; usage_hint: "[provider]"; } | { url?: string | undefined; command: "/help"; description: "Show help summary"; } | { url?: string | undefined; command: "/agentstatus"; description: "Show runtime and channel status"; } | { url?: string | undefined; command: "/whoami"; description: "Show your Slack identity"; } | { url?: string | undefined; command: "/approve"; description: "Approve or deny a pending request"; usage_hint: " "; })[] | { url?: string | undefined; command: string; description: string; usage_hint: string; should_escape: boolean; }[]; }; oauth_config: { scopes: { bot: ("commands" | "app_mentions:read" | "assistant:write" | "channels:history" | "channels:read" | "chat:write" | "chat:write.customize" | "emoji:read" | "files:read" | "files:write" | "groups:history" | "groups:read" | "im:history" | "im:read" | "im:write" | "mpim:history" | "mpim:read" | "mpim:write" | "pins:read" | "pins:write" | "reactions:read" | "reactions:write" | "usergroups:read" | "users:read")[]; }; }; settings: { event_subscriptions: { request_url: string; bot_events: ("app_home_opened" | "app_mention" | "app_context_changed" | "agent_session_stopped" | "agent_session_title_changed" | "channel_created" | "channel_id_changed" | "channel_rename" | "member_joined_channel" | "member_left_channel" | "message.channels" | "message.groups" | "message.im" | "message.mpim" | "pin_added" | "pin_removed" | "reaction_added" | "reaction_removed")[]; }; interactivity: { is_enabled: boolean; request_url: string; message_menu_options_url: string; }; org_deploy_enabled: boolean; socket_mode_enabled: boolean; token_rotation_enabled: boolean; } | { event_subscriptions: { bot_events: ("app_home_opened" | "app_mention" | "app_context_changed" | "agent_session_stopped" | "agent_session_title_changed" | "channel_created" | "channel_id_changed" | "channel_rename" | "member_joined_channel" | "member_left_channel" | "message.channels" | "message.groups" | "message.im" | "message.mpim" | "pin_added" | "pin_removed" | "reaction_added" | "reaction_removed")[]; request_url?: undefined; }; interactivity: { is_enabled: boolean; request_url?: undefined; message_menu_options_url?: undefined; }; org_deploy_enabled: boolean; socket_mode_enabled: boolean; token_rotation_enabled: boolean; }; }; /** Default full-featured Socket Mode Slack App Manifest. */ export declare const slackAppManifest: { _metadata: { major_version: number; }; display_information: { name: string; description: string; }; features: { bot_user: { display_name: string; always_online: boolean; }; app_home: { home_tab_enabled: boolean; messages_tab_enabled: boolean; messages_tab_read_only_enabled: boolean; }; agent_view: { agent_description: string; suggested_prompts: ({ title: "What can you do?"; message: "What can you help me with?"; } | { title: "Summarize this channel"; message: "Summarize the recent activity in this channel."; } | { title: "Draft a reply"; message: "Help me draft a reply."; })[]; }; slash_commands: ({ url?: string | undefined; command: "/new"; description: "Start a new session"; usage_hint: "[model]"; } | { url?: string | undefined; command: "/reset"; description: "Reset the current session"; } | { url?: string | undefined; command: "/compact"; description: "Compact session context"; usage_hint: "[instructions]"; } | { url?: string | undefined; command: "/stop"; description: "Stop the current run"; } | { url?: string | undefined; command: "/think"; description: "Set thinking level"; usage_hint: ""; } | { url?: string | undefined; command: "/model"; description: "Show or switch model"; usage_hint: "[name|status]"; } | { url?: string | undefined; command: "/models"; description: "List available models"; usage_hint: "[provider]"; } | { url?: string | undefined; command: "/help"; description: "Show help summary"; } | { url?: string | undefined; command: "/agentstatus"; description: "Show runtime and channel status"; } | { url?: string | undefined; command: "/whoami"; description: "Show your Slack identity"; } | { url?: string | undefined; command: "/approve"; description: "Approve or deny a pending request"; usage_hint: " "; })[] | { url?: string | undefined; command: string; description: string; usage_hint: string; should_escape: boolean; }[]; }; oauth_config: { scopes: { bot: ("commands" | "app_mentions:read" | "assistant:write" | "channels:history" | "channels:read" | "chat:write" | "chat:write.customize" | "emoji:read" | "files:read" | "files:write" | "groups:history" | "groups:read" | "im:history" | "im:read" | "im:write" | "mpim:history" | "mpim:read" | "mpim:write" | "pins:read" | "pins:write" | "reactions:read" | "reactions:write" | "usergroups:read" | "users:read")[]; }; }; settings: { event_subscriptions: { request_url: string; bot_events: ("app_home_opened" | "app_mention" | "app_context_changed" | "agent_session_stopped" | "agent_session_title_changed" | "channel_created" | "channel_id_changed" | "channel_rename" | "member_joined_channel" | "member_left_channel" | "message.channels" | "message.groups" | "message.im" | "message.mpim" | "pin_added" | "pin_removed" | "reaction_added" | "reaction_removed")[]; }; interactivity: { is_enabled: boolean; request_url: string; message_menu_options_url: string; }; org_deploy_enabled: boolean; socket_mode_enabled: boolean; token_rotation_enabled: boolean; } | { event_subscriptions: { bot_events: ("app_home_opened" | "app_mention" | "app_context_changed" | "agent_session_stopped" | "agent_session_title_changed" | "channel_created" | "channel_id_changed" | "channel_rename" | "member_joined_channel" | "member_left_channel" | "message.channels" | "message.groups" | "message.im" | "message.mpim" | "pin_added" | "pin_removed" | "reaction_added" | "reaction_removed")[]; request_url?: undefined; }; interactivity: { is_enabled: boolean; request_url?: undefined; message_menu_options_url?: undefined; }; org_deploy_enabled: boolean; socket_mode_enabled: boolean; token_rotation_enabled: boolean; }; };