import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DurationString } from "./DurationString.js";
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1SecretRef } from "./SecretRef.js";
import { ModelData, Model } from "@kubernetes-models/base";
export interface IDatadogMetric {
    /**
     * Aggregator is a type of aggregator to use for metrics-based queries (default: ""). Used for v2
     */
    "aggregator"?: "avg" | "min" | "max" | "sum" | "last" | "percentile" | "mean" | "l2norm" | "area";
    /**
     * ApiVersion refers to the Datadog API version being used (default: v1). v1 will eventually be deprecated.
     */
    "apiVersion"?: "v1" | "v2";
    /**
     * Formula refers to the Formula made up of the queries. Only useful with Queries. Used for v2
     */
    "formula"?: string;
    /**
     * Interval refers to the Interval time window in Datadog (default: 5m). Not to be confused with the polling rate for the metric.
     */
    "interval"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DurationString;
    /**
     * Queries is a map of query_name_as_key: query. You can then use query_name_as_key inside Formula.Used for v2
     */
    "queries"?: {
        [key: string]: string;
    };
    "query"?: string;
    /**
     * Secret refers to the name of the secret that should be used for an analysis and should exists in the namespace where the controller is.
     */
    "secretRef"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1SecretRef;
}
export declare class DatadogMetric extends Model<IDatadogMetric> implements IDatadogMetric {
    "aggregator"?: "avg" | "min" | "max" | "sum" | "last" | "percentile" | "mean" | "l2norm" | "area";
    "apiVersion"?: "v1" | "v2";
    "formula"?: string;
    "interval"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DurationString;
    "queries"?: {
        [key: string]: string;
    };
    "query"?: string;
    "secretRef"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1SecretRef;
    constructor(data?: ModelData<IDatadogMetric>);
}
export type { IDatadogMetric as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DatadogMetric, DatadogMetric as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DatadogMetric };
