import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const HogFlowsMetricsTotalsRetrieveInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly after: Schema.optional<Schema.String>;
    readonly before: Schema.optional<Schema.String>;
    readonly breakdown_by: Schema.optional<Schema.Literals<readonly ["name", "kind"]>>;
    readonly instance_id: Schema.optional<Schema.String>;
    readonly interval: Schema.optional<Schema.Literals<readonly ["hour", "day", "week"]>>;
    readonly kind: Schema.optional<Schema.String>;
    readonly name: Schema.optional<Schema.String>;
}>;
export type HogFlowsMetricsTotalsRetrieveInput = typeof HogFlowsMetricsTotalsRetrieveInput.Type;
export declare const HogFlowsMetricsTotalsRetrieveOutput: Schema.Struct<{
    readonly totals: Schema.optional<Schema.$Record<Schema.String, Schema.Number>>;
}>;
export type HogFlowsMetricsTotalsRetrieveOutput = typeof HogFlowsMetricsTotalsRetrieveOutput.Type;
/**
 *
 * @param after - Start of the time range. Accepts relative formats like '-7d', '-24h' or ISO 8601 timestamps. Defaults to '-7d'.
 * @param before - End of the time range. Same format as 'after'. Defaults to now.
 * @param breakdown_by - Group the series by metric 'name' or 'kind'. Defaults to 'kind'.

* `name` - name
* `kind` - kind
 * @param id - A UUID string identifying this hog flow.
 * @param instance_id - Filter metrics to a specific execution instance.
 * @param interval - Time bucket size for the series. One of: hour, day, week. Defaults to 'day'.

* `hour` - hour
* `day` - day
* `week` - week
 * @param kind - Comma-separated metric kinds to filter by, e.g. 'success,failure'.
 * @param name - Comma-separated metric names to filter by.
 * @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 hogFlowsMetricsTotalsRetrieve: import("@distilled.cloud/core/client").OperationMethod<{
    readonly after?: string | undefined;
    readonly before?: string | undefined;
    readonly breakdown_by?: "kind" | "name" | undefined;
    readonly id: string;
    readonly instance_id?: string | undefined;
    readonly interval?: "day" | "hour" | "week" | undefined;
    readonly kind?: string | undefined;
    readonly name?: string | undefined;
    readonly project_id: string;
}, {
    readonly totals?: {
        readonly [x: string]: number;
    } | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=hogFlowsMetricsTotalsRetrieve.d.ts.map