import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { DeregisterImageRequest, DeregisterImageResult } from "../models/models_3";
/**
 * @public
 */
export type { __MetadataBearer };
export { $Command };
/**
 * @public
 *
 * The input for {@link DeregisterImageCommand}.
 */
export interface DeregisterImageCommandInput extends DeregisterImageRequest {
}
/**
 * @public
 *
 * The output of {@link DeregisterImageCommand}.
 */
export interface DeregisterImageCommandOutput extends DeregisterImageResult, __MetadataBearer {
}
declare const DeregisterImageCommand_base: {
    new (input: DeregisterImageCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterImageCommandInput, DeregisterImageCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
    new (input: DeregisterImageCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterImageCommandInput, DeregisterImageCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
    getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
/**
 * <p>Deregisters the specified AMI. A deregistered AMI can't be used to launch new
 *       instances.</p>
 *          <p>If a deregistered EBS-backed AMI matches a Recycle Bin retention rule, it moves to the
 *       Recycle Bin for the specified retention period. It can be restored before its retention period
 *       expires, after which it is permanently deleted. If the deregistered AMI doesn't match a
 *       retention rule, it is permanently deleted immediately. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
 *       the <i>Amazon EBS User Guide</i>.</p>
 *          <p>Deregistering an AMI does not delete the following:</p>
 *          <ul>
 *             <li>
 *                <p>Instances already launched from the AMI. You'll continue to incur usage costs for the
 *           instances until you terminate them.</p>
 *             </li>
 *             <li>
 *                <p>For EBS-backed AMIs: The snapshots that were created of the root and data volumes of
 *           the instance during AMI creation. You'll continue to incur snapshot storage costs.</p>
 *             </li>
 *             <li>
 *                <p>For instance store-backed AMIs: The files uploaded to Amazon S3 during AMI creation. You'll
 *           continue to incur S3 storage costs.</p>
 *             </li>
 *          </ul>
 *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html">Deregister an Amazon EC2 AMI</a> in the
 *         <i>Amazon EC2 User Guide</i>.</p>
 * @example
 * Use a bare-bones client and the command you need to make an API call.
 * ```javascript
 * import { EC2Client, DeregisterImageCommand } from "@aws-sdk/client-ec2"; // ES Modules import
 * // const { EC2Client, DeregisterImageCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
 * const client = new EC2Client(config);
 * const input = { // DeregisterImageRequest
 *   ImageId: "STRING_VALUE", // required
 *   DryRun: true || false,
 * };
 * const command = new DeregisterImageCommand(input);
 * const response = await client.send(command);
 * // {};
 *
 * ```
 *
 * @param DeregisterImageCommandInput - {@link DeregisterImageCommandInput}
 * @returns {@link DeregisterImageCommandOutput}
 * @see {@link DeregisterImageCommandInput} for command's `input` shape.
 * @see {@link DeregisterImageCommandOutput} for command's `response` shape.
 * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
 *
 * @throws {@link EC2ServiceException}
 * <p>Base exception class for all service exceptions from EC2 service.</p>
 *
 *
 * @public
 */
export declare class DeregisterImageCommand extends DeregisterImageCommand_base {
    /** @internal type navigation helper, not in runtime. */
    protected static __types: {
        api: {
            input: DeregisterImageRequest;
            output: {};
        };
        sdk: {
            input: DeregisterImageCommandInput;
            output: DeregisterImageCommandOutput;
        };
    };
}
