/** * Slack webhook notifications for RecourseOS escalations. */ export interface SlackNotificationConfig { webhookUrl: string; channel?: string; username?: string; iconEmoji?: string; } export interface ConsequenceAlert { riskAssessment: 'allow' | 'warn' | 'escalate' | 'block'; source: 'terraform' | 'shell' | 'mcp'; target: string; action: string; tier: string; reasoning: string; actor?: string; environment?: string; timestamp?: string; } export declare function formatSlackMessage(alert: ConsequenceAlert): object; export declare function sendSlackNotification(config: SlackNotificationConfig, alert: ConsequenceAlert): Promise<{ success: boolean; error?: string; }>; /** * Create a notifier function from environment config. * Reads RECOURSE_SLACK_WEBHOOK from environment. */ export declare function createSlackNotifier(): ((alert: ConsequenceAlert) => Promise) | null; //# sourceMappingURL=slack.d.ts.map