import { PipelineNotification } from '../../schema';
export interface NotifyBuilder {
    notify(notify: PipelineNotification): this;
    addNotification(notification: PipelineNotification): this;
}
export declare class NotificationHelper {
    #private;
    /**
     * @see https://buildkite.com/docs/pipelines/notifications
     */
    addNotification(notification: PipelineNotification): void;
    build(): {
        notify: ("github_check" | "github_commit_status" | {
            email?: string | undefined;
            if?: string | undefined;
        } | {
            basecamp_campfire?: string | undefined;
            if?: string | undefined;
        } | {
            slack?: string | {
                [k: string]: unknown;
                channels?: string[] | undefined;
                message?: string | undefined;
            } | undefined;
            if?: string | undefined;
        } | {
            webhook?: string | undefined;
            if?: string | undefined;
        } | {
            pagerduty_change_event?: string | undefined;
            if?: string | undefined;
        } | {
            github_commit_status?: {
                [k: string]: unknown;
                context?: string | undefined;
            } | undefined;
            if?: string | undefined;
        } | {
            github_check?: {
                [k: string]: unknown;
                context?: string | undefined;
            } | undefined;
            if?: string | undefined;
        })[];
    } | {
        notify?: undefined;
    };
}
