import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const CohortsCreateInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly id: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly description: Schema.optional<Schema.String>;
    readonly groups: Schema.optional<Schema.Unknown>;
    readonly deleted: Schema.optional<Schema.Boolean>;
    readonly filters: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly properties: Schema.optional<Schema.Struct<{
            readonly type: Schema.optional<Schema.Literals<readonly ["AND", "OR"]>>;
            readonly values: Schema.optional<Schema.$Array<Schema.Unknown>>;
        }>>;
    }>>>;
    readonly query: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly version: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly pending_version: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly is_calculating: Schema.optional<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.NullOr<Schema.String>>;
    readonly last_calculation: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly last_backfill_person_properties_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly errors_calculating: Schema.optional<Schema.Number>;
    readonly last_error_message: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly count: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly is_static: Schema.optional<Schema.Boolean>;
    readonly cohort_type: Schema.optional<Schema.Unknown>;
    readonly experiment_set: Schema.optional<Schema.$Array<Schema.Number>>;
    readonly _create_in_folder: Schema.optional<Schema.String>;
    readonly _create_static_person_ids: Schema.optional<Schema.$Array<Schema.String>>;
}>;
export type CohortsCreateInput = typeof CohortsCreateInput.Type;
export declare const CohortsCreateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly description: Schema.optional<Schema.String>;
    readonly groups: Schema.optional<Schema.Unknown>;
    readonly deleted: Schema.optional<Schema.Boolean>;
    readonly filters: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly properties: Schema.optional<Schema.Struct<{
            readonly type: Schema.optional<Schema.Literals<readonly ["AND", "OR"]>>;
            readonly values: Schema.optional<Schema.$Array<Schema.Unknown>>;
        }>>;
    }>>>;
    readonly query: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly version: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly pending_version: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly is_calculating: Schema.optional<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.NullOr<Schema.String>>;
    readonly last_calculation: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly last_backfill_person_properties_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly errors_calculating: Schema.optional<Schema.Number>;
    readonly last_error_message: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly count: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly is_static: Schema.optional<Schema.Boolean>;
    readonly cohort_type: Schema.optional<Schema.Unknown>;
    readonly experiment_set: Schema.optional<Schema.$Array<Schema.Number>>;
    readonly _create_in_folder: Schema.optional<Schema.String>;
    readonly _create_static_person_ids: Schema.optional<Schema.$Array<Schema.String>>;
}>;
export type CohortsCreateOutput = typeof CohortsCreateOutput.Type;
/**
 *
 * @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 cohortsCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly id?: number | undefined;
    readonly name?: string | null | undefined;
    readonly description?: string | undefined;
    readonly groups?: unknown;
    readonly deleted?: boolean | undefined;
    readonly filters?: {
        readonly properties?: {
            readonly type?: "AND" | "OR" | undefined;
            readonly values?: readonly unknown[] | undefined;
        } | undefined;
    } | null | undefined;
    readonly query?: unknown;
    readonly version?: number | null | undefined;
    readonly pending_version?: number | null | undefined;
    readonly is_calculating?: boolean | undefined;
    readonly created_by?: {
        readonly id?: number | undefined;
        readonly uuid?: string | undefined;
        readonly distinct_id?: string | null | undefined;
        readonly first_name?: string | undefined;
        readonly last_name?: string | undefined;
        readonly email?: string | undefined;
        readonly is_email_verified?: boolean | null | undefined;
        readonly hedgehog_config?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly role_at_organization?: unknown;
    } | null | undefined;
    readonly created_at?: string | null | undefined;
    readonly last_calculation?: string | null | undefined;
    readonly last_backfill_person_properties_at?: string | null | undefined;
    readonly errors_calculating?: number | undefined;
    readonly last_error_message?: string | null | undefined;
    readonly count?: number | null | undefined;
    readonly is_static?: boolean | undefined;
    readonly cohort_type?: unknown;
    readonly experiment_set?: readonly number[] | undefined;
    readonly _create_in_folder?: string | undefined;
    readonly _create_static_person_ids?: readonly string[] | undefined;
}, {
    readonly id?: number | undefined;
    readonly name?: string | null | undefined;
    readonly description?: string | undefined;
    readonly groups?: unknown;
    readonly deleted?: boolean | undefined;
    readonly filters?: {
        readonly properties?: {
            readonly type?: "AND" | "OR" | undefined;
            readonly values?: readonly unknown[] | undefined;
        } | undefined;
    } | null | undefined;
    readonly query?: unknown;
    readonly version?: number | null | undefined;
    readonly pending_version?: number | null | undefined;
    readonly is_calculating?: boolean | undefined;
    readonly created_by?: {
        readonly id?: number | undefined;
        readonly uuid?: string | undefined;
        readonly distinct_id?: string | null | undefined;
        readonly first_name?: string | undefined;
        readonly last_name?: string | undefined;
        readonly email?: string | undefined;
        readonly is_email_verified?: boolean | null | undefined;
        readonly hedgehog_config?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly role_at_organization?: unknown;
    } | null | undefined;
    readonly created_at?: string | null | undefined;
    readonly last_calculation?: string | null | undefined;
    readonly last_backfill_person_properties_at?: string | null | undefined;
    readonly errors_calculating?: number | undefined;
    readonly last_error_message?: string | null | undefined;
    readonly count?: number | null | undefined;
    readonly is_static?: boolean | undefined;
    readonly cohort_type?: unknown;
    readonly experiment_set?: readonly number[] | undefined;
    readonly _create_in_folder?: string | undefined;
    readonly _create_static_person_ids?: readonly string[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=cohortsCreate.d.ts.map