import * as pulumi from "@pulumi/pulumi";
/**
 * Deprecated: use the `datadog.SoftwareCatalog` resource instead. Provides a Datadog OpenAPI resource. This can be used to synchronize Datadog's [API catalog](https://docs.datadoghq.com/api_catalog/) with an [OpenAPI](https://www.openapis.org/) specifications file.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 * import * as std from "@pulumi/std";
 *
 * // Uploads an OpenAPI file from the given local path to Datadog's API catalog
 * const my_api = new datadog.OpenapiApi("my-api", {spec: std.file({
 *     input: "./path/my-api.yaml",
 * }).result});
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * ```sh
 * $ pulumi import datadog:index/openapiApi:OpenapiApi new_list "90646597-5fdb-4a17-a240-647003f8c028"
 * ```
 */
export declare class OpenapiApi extends pulumi.CustomResource {
    /**
     * Get an existing OpenapiApi 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?: OpenapiApiState, opts?: pulumi.CustomResourceOptions): OpenapiApi;
    /**
     * Returns true if the given object is an instance of OpenapiApi.  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 OpenapiApi;
    /**
     * The textual content of the OpenAPI specification. Use `file()` in order to reference another file in the repository (see exmaple).
     */
    readonly spec: pulumi.Output<string>;
    /**
     * Create a OpenapiApi 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: OpenapiApiArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering OpenapiApi resources.
 */
export interface OpenapiApiState {
    /**
     * The textual content of the OpenAPI specification. Use `file()` in order to reference another file in the repository (see exmaple).
     */
    spec?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a OpenapiApi resource.
 */
export interface OpenapiApiArgs {
    /**
     * The textual content of the OpenAPI specification. Use `file()` in order to reference another file in the repository (see exmaple).
     */
    spec: pulumi.Input<string>;
}
//# sourceMappingURL=openapiApi.d.ts.map