import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * Provides a Datadog SpansMetric resource. This can be used to create and manage Datadog spans_metric.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 *
 * // Create new spans_metric resource
 * const testingSpansMetric = new datadog.SpansMetric("testing_spans_metric", {
 *     name: "testing.span.metric",
 *     compute: [{
 *         aggregationType: "distribution",
 *         includePercentiles: false,
 *         path: "@duration",
 *     }],
 *     filter: [{
 *         query: "@http.status_code:200 service:my-service",
 *     }],
 *     groupBies: [{
 *         path: "resource_name",
 *         tagName: "resource_name",
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * ```sh
 * $ pulumi import datadog:index/spansMetric:SpansMetric testing_spans_metric testing.span.metric
 * ```
 */
export declare class SpansMetric extends pulumi.CustomResource {
    /**
     * Get an existing SpansMetric resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SpansMetricState, opts?: pulumi.CustomResourceOptions): SpansMetric;
    /**
     * Returns true if the given object is an instance of SpansMetric.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is SpansMetric;
    readonly compute: pulumi.Output<outputs.SpansMetricCompute>;
    readonly filter: pulumi.Output<outputs.SpansMetricFilter>;
    readonly groupBies: pulumi.Output<outputs.SpansMetricGroupBy[] | undefined>;
    /**
     * The name of the span-based metric. This field can't be updated after creation.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Create a SpansMetric resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: SpansMetricArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SpansMetric resources.
 */
export interface SpansMetricState {
    compute?: pulumi.Input<inputs.SpansMetricCompute | undefined>;
    filter?: pulumi.Input<inputs.SpansMetricFilter | undefined>;
    groupBies?: pulumi.Input<pulumi.Input<inputs.SpansMetricGroupBy>[] | undefined>;
    /**
     * The name of the span-based metric. This field can't be updated after creation.
     */
    name?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SpansMetric resource.
 */
export interface SpansMetricArgs {
    compute: pulumi.Input<inputs.SpansMetricCompute>;
    filter: pulumi.Input<inputs.SpansMetricFilter>;
    groupBies?: pulumi.Input<pulumi.Input<inputs.SpansMetricGroupBy>[] | undefined>;
    /**
     * The name of the span-based metric. This field can't be updated after creation.
     */
    name: pulumi.Input<string>;
}
//# sourceMappingURL=spansMetric.d.ts.map