import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const ExperimentSavedMetricsCreateInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly id: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.String>;
    readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly query: 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 tags: Schema.optional<Schema.$Array<Schema.Unknown>>;
    readonly user_access_level: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type ExperimentSavedMetricsCreateInput = typeof ExperimentSavedMetricsCreateInput.Type;
export declare const ExperimentSavedMetricsCreateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.String>;
    readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly query: 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 tags: Schema.optional<Schema.$Array<Schema.Unknown>>;
    readonly user_access_level: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type ExperimentSavedMetricsCreateOutput = typeof ExperimentSavedMetricsCreateOutput.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 experimentSavedMetricsCreate: import("@distilled.cloud/core/client").OperationMethod<{
    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 id?: number | undefined;
    readonly name?: string | undefined;
    readonly project_id: string;
    readonly query?: unknown;
    readonly tags?: readonly unknown[] | undefined;
    readonly updated_at?: string | undefined;
    readonly user_access_level?: 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 description?: string | null | undefined;
    readonly id?: number | undefined;
    readonly name?: string | undefined;
    readonly query?: unknown;
    readonly tags?: readonly unknown[] | undefined;
    readonly updated_at?: string | undefined;
    readonly user_access_level?: string | null | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=experimentSavedMetricsCreate.d.ts.map