import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const AlertsUpdateInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly created_by: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly id: Schema.optional<Schema.Number>;
        readonly uuid: Schema.optional<Schema.String>;
        readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly first_name: Schema.optional<Schema.String>;
        readonly last_name: Schema.optional<Schema.String>;
        readonly email: Schema.optional<Schema.String>;
        readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
        readonly role_at_organization: Schema.optional<Schema.Unknown>;
    }>>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly insight: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.String>;
    readonly subscribed_users: Schema.optional<Schema.$Array<Schema.Number>>;
    readonly threshold: Schema.optional<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly configuration: Schema.optional<Schema.Struct<{
            readonly bounds: Schema.optional<Schema.Struct<{
                readonly lower: Schema.optional<Schema.NullOr<Schema.Number>>;
                readonly upper: Schema.optional<Schema.NullOr<Schema.Number>>;
            }>>;
            readonly type: Schema.optional<Schema.Literals<readonly ["absolute", "percentage"]>>;
        }>>;
    }>>;
    readonly condition: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly type: Schema.optional<Schema.Literals<readonly ["absolute_value", "relative_increase", "relative_decrease"]>>;
    }>>>;
    readonly state: Schema.optional<Schema.String>;
    readonly enabled: Schema.optional<Schema.Boolean>;
    readonly last_notified_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly last_checked_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly next_check_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly checks: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly calculated_value: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly state: Schema.optional<Schema.Literals<readonly ["Firing", "Not firing", "Errored", "Snoozed"]>>;
        readonly targets_notified: Schema.optional<Schema.Boolean>;
        readonly anomaly_scores: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly triggered_points: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly triggered_dates: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly interval: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly triggered_metadata: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly investigation_status: Schema.optional<Schema.Unknown>;
        readonly investigation_verdict: Schema.optional<Schema.Unknown>;
        readonly investigation_summary: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly investigation_notebook_short_id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly notification_sent_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly notification_suppressed_by_agent: Schema.optional<Schema.Boolean>;
    }>>>;
    readonly checks_total: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly config: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly check_ongoing_interval: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly series_index: Schema.optional<Schema.Number>;
        readonly type: Schema.optional<Schema.Literals<readonly ["TrendsAlertConfig"]>>;
    }>>>;
    readonly detector_config: Schema.optional<Schema.Unknown>;
    readonly calculation_interval: Schema.optional<Schema.Literals<readonly ["hourly", "daily", "weekly", "monthly"]>>;
    readonly snoozed_until: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly skip_weekend: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly schedule_restriction: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly blocked_windows: Schema.optional<Schema.$Array<Schema.Struct<{
            readonly start: Schema.optional<Schema.String>;
            readonly end: Schema.optional<Schema.String>;
        }>>>;
    }>>>;
    readonly last_value: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly investigation_agent_enabled: Schema.optional<Schema.Boolean>;
    readonly investigation_gates_notifications: Schema.optional<Schema.Boolean>;
    readonly investigation_inconclusive_action: Schema.optional<Schema.Literals<readonly ["notify", "suppress"]>>;
}>;
export type AlertsUpdateInput = typeof AlertsUpdateInput.Type;
export declare const AlertsUpdateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly created_by: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly id: Schema.optional<Schema.Number>;
        readonly uuid: Schema.optional<Schema.String>;
        readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly first_name: Schema.optional<Schema.String>;
        readonly last_name: Schema.optional<Schema.String>;
        readonly email: Schema.optional<Schema.String>;
        readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
        readonly role_at_organization: Schema.optional<Schema.Unknown>;
    }>>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly insight: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.String>;
    readonly subscribed_users: Schema.optional<Schema.$Array<Schema.Number>>;
    readonly threshold: Schema.optional<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly configuration: Schema.optional<Schema.Struct<{
            readonly bounds: Schema.optional<Schema.Struct<{
                readonly lower: Schema.optional<Schema.NullOr<Schema.Number>>;
                readonly upper: Schema.optional<Schema.NullOr<Schema.Number>>;
            }>>;
            readonly type: Schema.optional<Schema.Literals<readonly ["absolute", "percentage"]>>;
        }>>;
    }>>;
    readonly condition: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly type: Schema.optional<Schema.Literals<readonly ["absolute_value", "relative_increase", "relative_decrease"]>>;
    }>>>;
    readonly state: Schema.optional<Schema.String>;
    readonly enabled: Schema.optional<Schema.Boolean>;
    readonly last_notified_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly last_checked_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly next_check_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly checks: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly calculated_value: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly state: Schema.optional<Schema.Literals<readonly ["Firing", "Not firing", "Errored", "Snoozed"]>>;
        readonly targets_notified: Schema.optional<Schema.Boolean>;
        readonly anomaly_scores: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly triggered_points: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly triggered_dates: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly interval: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly triggered_metadata: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly investigation_status: Schema.optional<Schema.Unknown>;
        readonly investigation_verdict: Schema.optional<Schema.Unknown>;
        readonly investigation_summary: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly investigation_notebook_short_id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly notification_sent_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly notification_suppressed_by_agent: Schema.optional<Schema.Boolean>;
    }>>>;
    readonly checks_total: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly config: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly check_ongoing_interval: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly series_index: Schema.optional<Schema.Number>;
        readonly type: Schema.optional<Schema.Literals<readonly ["TrendsAlertConfig"]>>;
    }>>>;
    readonly detector_config: Schema.optional<Schema.Unknown>;
    readonly calculation_interval: Schema.optional<Schema.Literals<readonly ["hourly", "daily", "weekly", "monthly"]>>;
    readonly snoozed_until: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly skip_weekend: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly schedule_restriction: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly blocked_windows: Schema.optional<Schema.$Array<Schema.Struct<{
            readonly start: Schema.optional<Schema.String>;
            readonly end: Schema.optional<Schema.String>;
        }>>>;
    }>>>;
    readonly last_value: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly investigation_agent_enabled: Schema.optional<Schema.Boolean>;
    readonly investigation_gates_notifications: Schema.optional<Schema.Boolean>;
    readonly investigation_inconclusive_action: Schema.optional<Schema.Literals<readonly ["notify", "suppress"]>>;
}>;
export type AlertsUpdateOutput = typeof AlertsUpdateOutput.Type;
/**
 *
 * @param id - A UUID string identifying this alert configuration.
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 */
export declare const alertsUpdate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly calculation_interval?: "daily" | "hourly" | "monthly" | "weekly" | undefined;
    readonly checks?: readonly {
        readonly anomaly_scores?: unknown;
        readonly calculated_value?: number | null | undefined;
        readonly created_at?: string | undefined;
        readonly id?: string | undefined;
        readonly interval?: string | null | undefined;
        readonly investigation_notebook_short_id?: string | null | undefined;
        readonly investigation_status?: unknown;
        readonly investigation_summary?: string | null | undefined;
        readonly investigation_verdict?: unknown;
        readonly notification_sent_at?: string | null | undefined;
        readonly notification_suppressed_by_agent?: boolean | undefined;
        readonly state?: "Errored" | "Firing" | "Not firing" | "Snoozed" | undefined;
        readonly targets_notified?: boolean | undefined;
        readonly triggered_dates?: unknown;
        readonly triggered_metadata?: unknown;
        readonly triggered_points?: unknown;
    }[] | undefined;
    readonly checks_total?: number | null | undefined;
    readonly condition?: {
        readonly type?: "absolute_value" | "relative_decrease" | "relative_increase" | undefined;
    } | null | undefined;
    readonly config?: {
        readonly check_ongoing_interval?: boolean | null | undefined;
        readonly series_index?: number | undefined;
        readonly type?: "TrendsAlertConfig" | undefined;
    } | null | undefined;
    readonly created_at?: string | undefined;
    readonly created_by?: {
        readonly distinct_id?: string | null | undefined;
        readonly email?: string | undefined;
        readonly first_name?: string | undefined;
        readonly hedgehog_config?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly id?: number | undefined;
        readonly is_email_verified?: boolean | null | undefined;
        readonly last_name?: string | undefined;
        readonly role_at_organization?: unknown;
        readonly uuid?: string | undefined;
    } | null | undefined;
    readonly detector_config?: unknown;
    readonly enabled?: boolean | undefined;
    readonly id: string;
    readonly insight?: number | undefined;
    readonly investigation_agent_enabled?: boolean | undefined;
    readonly investigation_gates_notifications?: boolean | undefined;
    readonly investigation_inconclusive_action?: "notify" | "suppress" | undefined;
    readonly last_checked_at?: string | null | undefined;
    readonly last_notified_at?: string | null | undefined;
    readonly last_value?: number | null | undefined;
    readonly name?: string | undefined;
    readonly next_check_at?: string | null | undefined;
    readonly project_id: string;
    readonly schedule_restriction?: {
        readonly blocked_windows?: readonly {
            readonly end?: string | undefined;
            readonly start?: string | undefined;
        }[] | undefined;
    } | null | undefined;
    readonly skip_weekend?: boolean | null | undefined;
    readonly snoozed_until?: string | null | undefined;
    readonly state?: string | undefined;
    readonly subscribed_users?: readonly number[] | undefined;
    readonly threshold?: {
        readonly configuration?: {
            readonly bounds?: {
                readonly lower?: number | null | undefined;
                readonly upper?: number | null | undefined;
            } | undefined;
            readonly type?: "absolute" | "percentage" | undefined;
        } | undefined;
        readonly created_at?: string | undefined;
        readonly id?: string | undefined;
        readonly name?: string | undefined;
    } | undefined;
}, {
    readonly calculation_interval?: "daily" | "hourly" | "monthly" | "weekly" | undefined;
    readonly checks?: readonly {
        readonly anomaly_scores?: unknown;
        readonly calculated_value?: number | null | undefined;
        readonly created_at?: string | undefined;
        readonly id?: string | undefined;
        readonly interval?: string | null | undefined;
        readonly investigation_notebook_short_id?: string | null | undefined;
        readonly investigation_status?: unknown;
        readonly investigation_summary?: string | null | undefined;
        readonly investigation_verdict?: unknown;
        readonly notification_sent_at?: string | null | undefined;
        readonly notification_suppressed_by_agent?: boolean | undefined;
        readonly state?: "Errored" | "Firing" | "Not firing" | "Snoozed" | undefined;
        readonly targets_notified?: boolean | undefined;
        readonly triggered_dates?: unknown;
        readonly triggered_metadata?: unknown;
        readonly triggered_points?: unknown;
    }[] | undefined;
    readonly checks_total?: number | null | undefined;
    readonly condition?: {
        readonly type?: "absolute_value" | "relative_decrease" | "relative_increase" | undefined;
    } | null | undefined;
    readonly config?: {
        readonly check_ongoing_interval?: boolean | null | undefined;
        readonly series_index?: number | undefined;
        readonly type?: "TrendsAlertConfig" | undefined;
    } | null | undefined;
    readonly created_at?: string | undefined;
    readonly created_by?: {
        readonly distinct_id?: string | null | undefined;
        readonly email?: string | undefined;
        readonly first_name?: string | undefined;
        readonly hedgehog_config?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly id?: number | undefined;
        readonly is_email_verified?: boolean | null | undefined;
        readonly last_name?: string | undefined;
        readonly role_at_organization?: unknown;
        readonly uuid?: string | undefined;
    } | null | undefined;
    readonly detector_config?: unknown;
    readonly enabled?: boolean | undefined;
    readonly id?: string | undefined;
    readonly insight?: number | undefined;
    readonly investigation_agent_enabled?: boolean | undefined;
    readonly investigation_gates_notifications?: boolean | undefined;
    readonly investigation_inconclusive_action?: "notify" | "suppress" | undefined;
    readonly last_checked_at?: string | null | undefined;
    readonly last_notified_at?: string | null | undefined;
    readonly last_value?: number | null | undefined;
    readonly name?: string | undefined;
    readonly next_check_at?: string | null | undefined;
    readonly schedule_restriction?: {
        readonly blocked_windows?: readonly {
            readonly end?: string | undefined;
            readonly start?: string | undefined;
        }[] | undefined;
    } | null | undefined;
    readonly skip_weekend?: boolean | null | undefined;
    readonly snoozed_until?: string | null | undefined;
    readonly state?: string | undefined;
    readonly subscribed_users?: readonly number[] | undefined;
    readonly threshold?: {
        readonly configuration?: {
            readonly bounds?: {
                readonly lower?: number | null | undefined;
                readonly upper?: number | null | undefined;
            } | undefined;
            readonly type?: "absolute" | "percentage" | undefined;
        } | undefined;
        readonly created_at?: string | undefined;
        readonly id?: string | undefined;
        readonly name?: string | undefined;
    } | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=alertsUpdate.d.ts.map