import * as pulumi from "@pulumi/pulumi";
/**
 * Creates an open request for a Pulumi ESC environment that has gated opens enabled. When an environment has open gates configured, opening the environment requires an approval workflow. This endpoint initiates that process by creating an open request, and also creates corresponding open requests for each imported environment that has open gates. Requires the Approvals feature to be enabled for the organization. Returns 400 if the environment does not have gated opens.
 */
export declare class OpenEnvironmentRequest extends pulumi.CustomResource {
    /**
     * Get an existing OpenEnvironmentRequest 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 opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OpenEnvironmentRequest;
    /**
     * Returns true if the given object is an instance of OpenEnvironmentRequest.  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 OpenEnvironmentRequest;
    /**
     * Total duration that the resulting grant can be used to access the environment open endpoint (after first open)
     */
    readonly accessDurationSeconds: pulumi.Output<number>;
    /**
     * Time from application of the request until the resulting grant expires
     */
    readonly grantExpirationSeconds: pulumi.Output<number>;
    /**
     * Create a OpenEnvironmentRequest 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: OpenEnvironmentRequestArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * The set of arguments for constructing a OpenEnvironmentRequest resource.
 */
export interface OpenEnvironmentRequestArgs {
    /**
     * Total duration that the resulting grant can be used to access the environment open endpoint (after first open)
     */
    accessDurationSeconds: pulumi.Input<number>;
    /**
     * The change request ID
     */
    changeRequestId?: pulumi.Input<string | undefined>;
    /**
     * The environment name
     */
    envName: pulumi.Input<string>;
    /**
     * Time from application of the request until the resulting grant expires
     */
    grantExpirationSeconds: pulumi.Input<number>;
    /**
     * The organization name
     */
    orgName: pulumi.Input<string>;
    /**
     * The project name
     */
    projectName: pulumi.Input<string>;
}
//# sourceMappingURL=openEnvironmentRequest.d.ts.map