/**
 * Slack Incoming Webhook notification
 *
 * Sends a text message to a Slack channel via Incoming Webhook.
 * Activated only when TAKT_NOTIFY_WEBHOOK environment variable is set.
 */
/**
 * Send a notification message to Slack via Incoming Webhook.
 *
 * Never throws: errors are written to stderr so the caller's flow is not disrupted.
 */
export declare function sendSlackNotification(webhookUrl: string, message: string): Promise<void>;
/**
 * Read the Slack webhook URL from the environment.
 *
 * @returns The webhook URL, or undefined if the environment variable is not set.
 */
export declare function getSlackWebhookUrl(): string | undefined;
export interface SlackTaskDetail {
    name: string;
    success: boolean;
    workflow: string;
    issueNumber?: number;
    durationSec: number;
    branch?: string;
    worktreePath?: string;
    prUrl?: string;
    failureStep?: string;
    failureError?: string;
    failureLastMessage?: string;
}
export interface SlackRunSummaryParams {
    runId: string;
    total: number;
    success: number;
    failed: number;
    durationSec: number;
    concurrency: number;
    tasks: SlackTaskDetail[];
}
export declare function buildSlackRunSummary(params: SlackRunSummaryParams): string;
//# sourceMappingURL=slackWebhook.d.ts.map