import { NotificationRule } from "aws-cdk-lib/aws-codestarnotifications";
import { Construct } from "constructs";
import { IPipeline } from "aws-cdk-lib/aws-codepipeline";
import { ISlackChannelConfiguration } from "aws-cdk-lib/aws-chatbot";
/**
 * Properties for PipelineNotificationRule.
 */
export interface PipelineNotificationRuleProps {
    /**
     * The events to notify on.
     *
     * @see https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#events-ref-pipeline
     * @default PipelineNotificationRule.PIPELINE_EXECUTION_EVENTS
     */
    readonly events?: string[];
    /**
     * Pipeline source for the events.
     */
    readonly source: IPipeline;
    /**
     * Arn of the Slack channel to notify.
     */
    readonly slackChannelConfigurationArn: string;
}
/**
 * Configures notifications for a pipeline to a ChatOps Slack channel.
 */
export declare class PipelineNotificationRule extends Construct {
    static readonly ACTION_EXECUTION_EVENTS: string[];
    static readonly STAGE_EXECUTION_EVENTS: string[];
    static readonly PIPELINE_EXECUTION_EVENTS: string[];
    static readonly MANUAL_APPROVAL_EVENTS: string[];
    static readonly ALL_NOTIFICATION_EVENTS: string[];
    readonly slackChannel: ISlackChannelConfiguration;
    readonly notificationRule: NotificationRule;
    constructor(scope: Construct, id: string, props: PipelineNotificationRuleProps);
}
