/** * Slack Channel Plugin — First-class modular ChannelPlugin (Socket Mode + HTTP Request URLs). */ import type { Config } from '@xopcai/xopc/config/schema.js'; import type { ChannelConnectionProblem } from '@xopcai/xopc/channels/channel-domain.js'; import type { ChannelCapabilities, ChannelCommandAdapter, ChannelDoctorAdapter, ChannelOutboundAdapter, ChannelPlugin, ChannelPluginDefaults, ChannelPluginInitOptions, ChannelPluginReloadMeta, ChannelPluginStartOptions, ChannelSecurityAdapter, ChannelStatusAdapter, ChannelStreamingAdapter } from '@xopcai/xopc/channels/plugin-types.js'; import type { ChannelDirectoryAdapter, ChannelResolverAdapter, ChannelRuntimeActionAdapter } from '@xopcai/xopc/channels/plugins/types.adapters.js'; import './state/pairing-config-resolver.js'; import { type ResolvedSlackAccount } from './state/accounts.js'; import { SlackRuntimeCaches } from './state/caches.js'; import { type SlackAuthIdentity } from './transport/client.js'; export declare class SlackChannelPlugin implements ChannelPlugin { readonly id: "slack"; readonly reload: ChannelPluginReloadMeta; readonly meta: { readonly id: "slack"; readonly label: "Slack"; readonly selectionLabel: "Slack (Socket Mode / HTTP)"; readonly docsPath: "/channels/slack"; readonly blurb: "Full-featured Slack workspace bot, streaming, search, and collaboration channel"; readonly order: 60; readonly deferConnectUntilAfterListen: true; }; readonly capabilities: ChannelCapabilities; readonly defaults: ChannelPluginDefaults; readonly configSchema: { schema: {}; validate: (raw: unknown) => { ok: true; errors?: undefined; } | { ok: false; errors: string[]; }; }; readonly configSurface: import("@xopcai/xopc/channels/plugins/types.adapters.js").ChannelConfigSurfaceAdapter; readonly pairing: import("@xopcai/xopc/channels/plugins/types.adapters.js").ChannelPairingAdapter; readonly runtimeActions: ChannelRuntimeActionAdapter; readonly doctor: ChannelDoctorAdapter; readonly caches: SlackRuntimeCaches; private cfg; private bus; private host; private runtimes; private execApprovalUnregister?; private inboundPipeline?; private dispatcher?; config: { listAccountIds: (cfg: Config) => string[]; resolveAccount: (cfg: Config, accountId?: string | null) => ResolvedSlackAccount; isEnabled: (account: ResolvedSlackAccount) => boolean; isConfigured: (account: ResolvedSlackAccount) => boolean; defaultAccountId: () => string; describeAccount: (account: ResolvedSlackAccount) => { accountId: string; channelId: string; enabled: boolean; configured: boolean; status: string; error: string | undefined; }; }; security: ChannelSecurityAdapter; outbound: ChannelOutboundAdapter; streaming: ChannelStreamingAdapter; status: ChannelStatusAdapter; directory: ChannelDirectoryAdapter; resolver: ChannelResolverAdapter; commands: ChannelCommandAdapter; getCurrentConfig(): Config; getAccountIdentity(accountId?: string): SlackAuthIdentity | undefined; init(options: ChannelPluginInitOptions): Promise; start(options?: ChannelPluginStartOptions): Promise; private startAccount; private stopAccount; stop(accountId?: string): Promise; channelIsRunning(): boolean; channelIsConnecting(): boolean; channelConnectionProblem(): ChannelConnectionProblem | undefined; onConfigUpdated(nextCfg: Config): Promise; } export declare const slackPlugin: SlackChannelPlugin;