import type { AnycastPlugin } from '../types.js'; export interface SlackPluginOptions { userId: string; userName: string; channelId: string; channelName: string; threadTs: string; teamId?: string; } /** * Slack plugin for withAnycast() — emits structured Slack context events. * * @example * ```js * const session = withAnycast(rawSession, { * agentToken: process.env.ANYCAST_TOKEN, * attributes: { * 'user.id': event.user, * 'messaging.system': 'slack', * 'messaging.destination': channelName, * 'messaging.destination_id': channelId, * 'messaging.conversation_id': threadTs, * }, * plugins: [slackPlugin({ userId, userName, channelId, channelName, threadTs })] * }) * ``` */ export declare function slackPlugin(opts: SlackPluginOptions): AnycastPlugin; //# sourceMappingURL=slack.d.ts.map