import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const ExperimentsRecalculateTimeseriesCreateInput: Schema.Struct<{
    readonly id: Schema.Number;
    readonly project_id: Schema.String;
    readonly name: Schema.optional<Schema.String>;
    readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly start_date: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly end_date: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly feature_flag_key: Schema.optional<Schema.String>;
    readonly feature_flag: Schema.optional<Schema.Struct<{
        readonly id: Schema.optional<Schema.Number>;
        readonly team_id: Schema.optional<Schema.Number>;
        readonly name: Schema.optional<Schema.String>;
        readonly key: Schema.optional<Schema.String>;
        readonly filters: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
        readonly deleted: Schema.optional<Schema.Boolean>;
        readonly active: Schema.optional<Schema.Boolean>;
        readonly ensure_experience_continuity: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly has_encrypted_payloads: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly version: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly evaluation_runtime: Schema.optional<Schema.Unknown>;
        readonly bucketing_identifier: Schema.optional<Schema.Unknown>;
        readonly evaluation_contexts: Schema.optional<Schema.$Array<Schema.String>>;
    }>>;
    readonly holdout: Schema.optional<Schema.Struct<{
        readonly id: Schema.optional<Schema.Number>;
        readonly name: Schema.optional<Schema.String>;
        readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly filters: Schema.optional<Schema.Unknown>;
        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 updated_at: Schema.optional<Schema.String>;
    }>>;
    readonly holdout_id: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly exposure_cohort: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly parameters: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly feature_flag_variants: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
            readonly key: Schema.optional<Schema.String>;
            readonly name: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly rollout_percentage: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly split_percent: Schema.optional<Schema.NullOr<Schema.Number>>;
        }>>>>;
        readonly minimum_detectable_effect: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly rollout_percentage: Schema.optional<Schema.NullOr<Schema.Number>>;
    }>>>;
    readonly secondary_metrics: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly saved_metrics: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.Number>;
        readonly experiment: Schema.optional<Schema.Number>;
        readonly saved_metric: Schema.optional<Schema.Number>;
        readonly metadata: Schema.optional<Schema.Unknown>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly query: Schema.optional<Schema.Unknown>;
        readonly name: Schema.optional<Schema.String>;
    }>>>;
    readonly saved_metrics_ids: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Unknown>>>;
    readonly filters: Schema.optional<Schema.Unknown>;
    readonly archived: Schema.optional<Schema.Boolean>;
    readonly deleted: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    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 updated_at: Schema.optional<Schema.String>;
    readonly type: Schema.optional<Schema.Unknown>;
    readonly exposure_criteria: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly exposure_config: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.String>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["ExperimentEventExposureConfig"]>>;
            readonly properties: Schema.optional<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>;
        }>>;
        readonly filterTestAccounts: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    }>>>;
    readonly metrics: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
        readonly completion_event: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly conversion_window: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly denominator: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly goal: Schema.optional<Schema.Literals<readonly ["increase", "decrease"]>>;
        readonly kind: Schema.optional<Schema.Literals<readonly ["ExperimentMetric"]>>;
        readonly metric_type: Schema.optional<Schema.Literals<readonly ["funnel", "mean", "ratio", "retention"]>>;
        readonly name: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly numerator: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly retention_window_end: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly retention_window_start: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly retention_window_unit: Schema.optional<Schema.Literals<readonly ["second", "minute", "hour", "day", "week", "month"]>>;
        readonly series: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>>>;
        readonly source: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly start_event: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly start_handling: Schema.optional<Schema.Literals<readonly ["first_seen", "last_seen"]>>;
        readonly uuid: Schema.optional<Schema.NullOr<Schema.String>>;
    }>>>>;
    readonly metrics_secondary: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
        readonly completion_event: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly conversion_window: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly denominator: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly goal: Schema.optional<Schema.Literals<readonly ["increase", "decrease"]>>;
        readonly kind: Schema.optional<Schema.Literals<readonly ["ExperimentMetric"]>>;
        readonly metric_type: Schema.optional<Schema.Literals<readonly ["funnel", "mean", "ratio", "retention"]>>;
        readonly name: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly numerator: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly retention_window_end: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly retention_window_start: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly retention_window_unit: Schema.optional<Schema.Literals<readonly ["second", "minute", "hour", "day", "week", "month"]>>;
        readonly series: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>>>;
        readonly source: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly start_event: Schema.optional<Schema.Struct<{
            readonly event: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly id: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly kind: Schema.optional<Schema.Literals<readonly ["EventsNode", "ActionsNode"]>>;
            readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly key: Schema.optional<Schema.String>;
                readonly label: Schema.optional<Schema.NullOr<Schema.String>>;
                readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "gte", "lt", "lte", "is_set", "is_not_set", "is_date_exact", "is_date_before", "is_date_after", "between", "not_between", "min", "max", "in", "not_in", "is_cleaned_path_exact", "flag_evaluates_to", "semver_eq", "semver_neq", "semver_gt", "semver_gte", "semver_lt", "semver_lte", "semver_tilde", "semver_caret", "semver_wildcard", "icontains_multi", "not_icontains_multi"]>>;
                readonly type: Schema.optional<Schema.Literals<readonly ["event"]>>;
                readonly value: Schema.optional<Schema.Unknown>;
            }>>>>;
        }>>;
        readonly start_handling: Schema.optional<Schema.Literals<readonly ["first_seen", "last_seen"]>>;
        readonly uuid: Schema.optional<Schema.NullOr<Schema.String>>;
    }>>>>;
    readonly stats_config: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly scheduling_config: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly allow_unknown_events: Schema.optional<Schema.Boolean>;
    readonly _create_in_folder: Schema.optional<Schema.String>;
    readonly conclusion: Schema.optional<Schema.Unknown>;
    readonly conclusion_comment: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly primary_metrics_ordered_uuids: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly secondary_metrics_ordered_uuids: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly only_count_matured_users: Schema.optional<Schema.Boolean>;
    readonly update_feature_flag_params: Schema.optional<Schema.Boolean>;
    readonly status: Schema.optional<Schema.Unknown>;
    readonly user_access_level: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type ExperimentsRecalculateTimeseriesCreateInput = typeof ExperimentsRecalculateTimeseriesCreateInput.Type;
export declare const ExperimentsRecalculateTimeseriesCreateOutput: Schema.Void;
export type ExperimentsRecalculateTimeseriesCreateOutput = typeof ExperimentsRecalculateTimeseriesCreateOutput.Type;
/**
 * Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
 * This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator
 * on serializer methods and converts them into proper HTTP 409 Conflict responses with
 * change request details.
 *
 * @param id - A unique integer value identifying this experiment.
 * @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 experimentsRecalculateTimeseriesCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly _create_in_folder?: string | undefined;
    readonly allow_unknown_events?: boolean | undefined;
    readonly archived?: boolean | undefined;
    readonly conclusion?: unknown;
    readonly conclusion_comment?: string | 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 deleted?: boolean | null | undefined;
    readonly description?: string | null | undefined;
    readonly end_date?: string | null | undefined;
    readonly exposure_cohort?: number | null | undefined;
    readonly exposure_criteria?: {
        readonly exposure_config?: {
            readonly event?: string | undefined;
            readonly kind?: "ExperimentEventExposureConfig" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | undefined;
        } | undefined;
        readonly filterTestAccounts?: boolean | null | undefined;
    } | null | undefined;
    readonly feature_flag?: {
        readonly active?: boolean | undefined;
        readonly bucketing_identifier?: unknown;
        readonly deleted?: boolean | undefined;
        readonly ensure_experience_continuity?: boolean | null | undefined;
        readonly evaluation_contexts?: readonly string[] | undefined;
        readonly evaluation_runtime?: unknown;
        readonly filters?: {
            readonly [x: string]: unknown;
        } | undefined;
        readonly has_encrypted_payloads?: boolean | null | undefined;
        readonly id?: number | undefined;
        readonly key?: string | undefined;
        readonly name?: string | undefined;
        readonly team_id?: number | undefined;
        readonly version?: number | null | undefined;
    } | undefined;
    readonly feature_flag_key?: string | undefined;
    readonly filters?: unknown;
    readonly holdout?: {
        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 description?: string | null | undefined;
        readonly filters?: unknown;
        readonly id?: number | undefined;
        readonly name?: string | undefined;
        readonly updated_at?: string | undefined;
    } | undefined;
    readonly holdout_id?: number | null | undefined;
    readonly id: number;
    readonly metrics?: readonly {
        readonly completion_event?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly conversion_window?: number | null | undefined;
        readonly denominator?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly goal?: "decrease" | "increase" | undefined;
        readonly kind?: "ExperimentMetric" | undefined;
        readonly metric_type?: "funnel" | "mean" | "ratio" | "retention" | undefined;
        readonly name?: string | null | undefined;
        readonly numerator?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly retention_window_end?: number | null | undefined;
        readonly retention_window_start?: number | null | undefined;
        readonly retention_window_unit?: "day" | "hour" | "minute" | "month" | "second" | "week" | undefined;
        readonly series?: readonly {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        }[] | null | undefined;
        readonly source?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly start_event?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly start_handling?: "first_seen" | "last_seen" | undefined;
        readonly uuid?: string | null | undefined;
    }[] | null | undefined;
    readonly metrics_secondary?: readonly {
        readonly completion_event?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly conversion_window?: number | null | undefined;
        readonly denominator?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly goal?: "decrease" | "increase" | undefined;
        readonly kind?: "ExperimentMetric" | undefined;
        readonly metric_type?: "funnel" | "mean" | "ratio" | "retention" | undefined;
        readonly name?: string | null | undefined;
        readonly numerator?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly retention_window_end?: number | null | undefined;
        readonly retention_window_start?: number | null | undefined;
        readonly retention_window_unit?: "day" | "hour" | "minute" | "month" | "second" | "week" | undefined;
        readonly series?: readonly {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        }[] | null | undefined;
        readonly source?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly start_event?: {
            readonly event?: string | null | undefined;
            readonly id?: number | null | undefined;
            readonly kind?: "ActionsNode" | "EventsNode" | undefined;
            readonly properties?: readonly {
                readonly key?: string | undefined;
                readonly label?: string | null | undefined;
                readonly operator?: "between" | "exact" | "flag_evaluates_to" | "gt" | "gte" | "icontains" | "icontains_multi" | "in" | "is_cleaned_path_exact" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "lte" | "max" | "min" | "not_between" | "not_icontains" | "not_icontains_multi" | "not_in" | "not_regex" | "regex" | "semver_caret" | "semver_eq" | "semver_gt" | "semver_gte" | "semver_lt" | "semver_lte" | "semver_neq" | "semver_tilde" | "semver_wildcard" | undefined;
                readonly type?: "event" | undefined;
                readonly value?: unknown;
            }[] | null | undefined;
        } | undefined;
        readonly start_handling?: "first_seen" | "last_seen" | undefined;
        readonly uuid?: string | null | undefined;
    }[] | null | undefined;
    readonly name?: string | undefined;
    readonly only_count_matured_users?: boolean | undefined;
    readonly parameters?: {
        readonly feature_flag_variants?: readonly {
            readonly key?: string | undefined;
            readonly name?: string | null | undefined;
            readonly rollout_percentage?: number | null | undefined;
            readonly split_percent?: number | null | undefined;
        }[] | null | undefined;
        readonly minimum_detectable_effect?: number | null | undefined;
        readonly rollout_percentage?: number | null | undefined;
    } | null | undefined;
    readonly primary_metrics_ordered_uuids?: unknown;
    readonly project_id: string;
    readonly saved_metrics?: readonly {
        readonly created_at?: string | undefined;
        readonly experiment?: number | undefined;
        readonly id?: number | undefined;
        readonly metadata?: unknown;
        readonly name?: string | undefined;
        readonly query?: unknown;
        readonly saved_metric?: number | undefined;
    }[] | undefined;
    readonly saved_metrics_ids?: readonly unknown[] | null | undefined;
    readonly scheduling_config?: unknown;
    readonly secondary_metrics?: unknown;
    readonly secondary_metrics_ordered_uuids?: unknown;
    readonly start_date?: string | null | undefined;
    readonly stats_config?: unknown;
    readonly status?: unknown;
    readonly type?: unknown;
    readonly update_feature_flag_params?: boolean | undefined;
    readonly updated_at?: string | undefined;
    readonly user_access_level?: string | null | undefined;
}, void, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=experimentsRecalculateTimeseriesCreate.d.ts.map