import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const GroupsTypesMetricsUpdateInput: Schema.Struct<{
    readonly group_type_index: Schema.Number;
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly name: Schema.optional<Schema.String>;
    readonly format: Schema.optional<Schema.Literals<readonly ["numeric", "currency"]>>;
    readonly interval: Schema.optional<Schema.Number>;
    readonly display: Schema.optional<Schema.Literals<readonly ["number", "sparkline"]>>;
    readonly filters: Schema.optional<Schema.Unknown>;
    readonly math: Schema.optional<Schema.Literals<readonly ["count", "sum"]>>;
    readonly math_property: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type GroupsTypesMetricsUpdateInput = typeof GroupsTypesMetricsUpdateInput.Type;
export declare const GroupsTypesMetricsUpdateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly name: Schema.optional<Schema.String>;
    readonly format: Schema.optional<Schema.Literals<readonly ["numeric", "currency"]>>;
    readonly interval: Schema.optional<Schema.Number>;
    readonly display: Schema.optional<Schema.Literals<readonly ["number", "sparkline"]>>;
    readonly filters: Schema.optional<Schema.Unknown>;
    readonly math: Schema.optional<Schema.Literals<readonly ["count", "sum"]>>;
    readonly math_property: Schema.optional<Schema.NullOr<Schema.String>>;
}>;
export type GroupsTypesMetricsUpdateOutput = typeof GroupsTypesMetricsUpdateOutput.Type;
/**
 *
 * @param id - A UUID string identifying this group usage metric.
 * @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 groupsTypesMetricsUpdate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly group_type_index: number;
    readonly id: string;
    readonly project_id: string;
    readonly name?: string | undefined;
    readonly format?: "currency" | "numeric" | undefined;
    readonly interval?: number | undefined;
    readonly display?: "number" | "sparkline" | undefined;
    readonly filters?: unknown;
    readonly math?: "count" | "sum" | undefined;
    readonly math_property?: string | null | undefined;
}, {
    readonly id?: string | undefined;
    readonly name?: string | undefined;
    readonly format?: "currency" | "numeric" | undefined;
    readonly interval?: number | undefined;
    readonly display?: "number" | "sparkline" | undefined;
    readonly filters?: unknown;
    readonly math?: "count" | "sum" | undefined;
    readonly math_property?: string | null | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=groupsTypesMetricsUpdate.d.ts.map