import * as pulumi from "@pulumi/pulumi";
/**
 * Obtain a Hetzner Cloud managed TLS certificate.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as hcloud from "@pulumi/hcloud";
 *
 * const managedCert = new hcloud.ManagedCertificate("managed_cert", {
 *     name: "managed_cert",
 *     domainNames: [
 *         "*.example.com",
 *         "example.com",
 *     ],
 *     labels: {
 *         label_1: "value_1",
 *         label_2: "value_2",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * Managed certificates can be imported using their `id`:
 *
 * ```sh
 * $ pulumi import hcloud:index/managedCertificate:ManagedCertificate example "$CERTIFICATE_ID"
 * ```
 */
export declare class ManagedCertificate extends pulumi.CustomResource {
    /**
     * Get an existing ManagedCertificate 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?: ManagedCertificateState, opts?: pulumi.CustomResourceOptions): ManagedCertificate;
    /**
     * Returns true if the given object is an instance of ManagedCertificate.  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 ManagedCertificate;
    /**
     * (string) PEM encoded TLS certificate.
     */
    readonly certificate: pulumi.Output<string>;
    /**
     * (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
     */
    readonly created: pulumi.Output<string>;
    /**
     * Domain names for which a certificate
     * should be obtained.
     */
    readonly domainNames: pulumi.Output<string[]>;
    /**
     * (string) Fingerprint of the certificate.
     */
    readonly fingerprint: pulumi.Output<string>;
    /**
     * User-defined labels (key-value pairs) the
     * certificate should be created with.
     */
    readonly labels: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * Name of the Certificate.
     */
    readonly name: pulumi.Output<string>;
    /**
     * (string) Point in time when the Certificate stops being valid (in ISO-8601 format).
     */
    readonly notValidAfter: pulumi.Output<string>;
    /**
     * (string) Point in time when the Certificate becomes valid (in ISO-8601 format).
     */
    readonly notValidBefore: pulumi.Output<string>;
    readonly type: pulumi.Output<string>;
    /**
     * Create a ManagedCertificate 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: ManagedCertificateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ManagedCertificate resources.
 */
export interface ManagedCertificateState {
    /**
     * (string) PEM encoded TLS certificate.
     */
    certificate?: pulumi.Input<string | undefined>;
    /**
     * (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
     */
    created?: pulumi.Input<string | undefined>;
    /**
     * Domain names for which a certificate
     * should be obtained.
     */
    domainNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (string) Fingerprint of the certificate.
     */
    fingerprint?: pulumi.Input<string | undefined>;
    /**
     * User-defined labels (key-value pairs) the
     * certificate should be created with.
     */
    labels?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Name of the Certificate.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * (string) Point in time when the Certificate stops being valid (in ISO-8601 format).
     */
    notValidAfter?: pulumi.Input<string | undefined>;
    /**
     * (string) Point in time when the Certificate becomes valid (in ISO-8601 format).
     */
    notValidBefore?: pulumi.Input<string | undefined>;
    type?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ManagedCertificate resource.
 */
export interface ManagedCertificateArgs {
    /**
     * Domain names for which a certificate
     * should be obtained.
     */
    domainNames: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * User-defined labels (key-value pairs) the
     * certificate should be created with.
     */
    labels?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Name of the Certificate.
     */
    name?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=managedCertificate.d.ts.map