import { n as EventPayload, r as EventSubscriber } from "./event-subscriber-base-DOVIZK7N.cjs"; //#region src/slack.d.ts interface SlackSubscriberConfig { /** Slack webhook URL (https://hooks.slack.com/services/...) */ webhookUrl: string; /** Default channel to post to (optional, overrides webhook default) */ channel?: string; /** Custom username for bot (default: 'Events Bot') */ username?: string; /** Custom emoji icon (default: ':chart_with_upwards_trend:') */ iconEmoji?: string; /** Include timestamp in messages (default: true) */ includeTimestamp?: boolean; /** Include event attributes as fields (default: true) */ includeAttributes?: boolean; /** Maximum attributes to show (default: 10) */ maxAttributeFields?: number; /** Filter function - return true to send, false to skip */ filter?: (payload: EventPayload) => boolean; /** Enable/disable subscriber */ enabled?: boolean; } declare class SlackSubscriber extends EventSubscriber { readonly name = "SlackSubscriber"; readonly version = "1.0.0"; private config; constructor(config: SlackSubscriberConfig); protected sendToDestination(payload: EventPayload): Promise; /** * Format events payload as Slack message */ private formatSlackMessage; /** * Get emoji for event type */ private getEventEmoji; /** * Get Slack attachment color for event type */ private getEventColor; /** * Format event type for display */ private formatEventType; /** * Format attributes as Slack fields */ private formatAttributes; /** * Format field name (convert camelCase to Title Case) */ private formatFieldName; /** * Format field value */ private formatFieldValue; /** * Handle errors (override from EventSubscriber) */ protected handleError(error: Error, payload: EventPayload): void; } //#endregion export { SlackSubscriber, SlackSubscriberConfig }; //# sourceMappingURL=slack.d.cts.map