import type { SessionAuthContext } from "#channel/types.js"; import type { SlackMessage } from "#public/channels/slack/inbound.js"; import type { SlackChannelInternalEvents, SlackContext, SlackMentionResult } from "#public/channels/slack/slackChannel.js"; /** * Workspace-scoped projection of the Slack actor that produced * `message`, derived into a {@link SessionAuthContext}. Used by both * {@link defaultOnMessage} when * the customer hasn't supplied their own `onAppMention` / * `onDirectMessage`. Returns `null` when the message has no author. */ export declare function defaultSlackAuth(message: SlackMessage, ctx: SlackContext): SessionAuthContext | null; /** * Default `onAppMention` and `onDirectMessage`: dispatches with auth derived * from the Slack actor. Acknowledging the message is the renderer chain's * `received`, so replacing a message hook never drops it. */ export declare function defaultOnMessage(ctx: SlackContext, message: SlackMessage): SlackMentionResult; /** eve's default `received`: the `Thinking...` status, set the moment a message arrives. */ export declare function defaultReceived(_message: SlackMessage, ctx: SlackContext): Promise; /** * eve's default Slack event rendering: status lines, replies, errors, and the * connection-authorization flow. It is the innermost link of every channel's * renderer chain. Typed as the internal full-context map because the default * `authorization.required` handler owns the public link-free status, which * authored renderers cannot express. */ export declare const defaultEvents: SlackChannelInternalEvents;