import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
import type { CodeDeployClient } from "../CodeDeployClient";
import { type GetDeploymentCommandInput, type GetDeploymentCommandOutput } from "../commands/GetDeploymentCommand";
import type { CodeDeployServiceException } from "../models/CodeDeployServiceException";
/**
 *
 *  @deprecated Use waitUntilDeploymentSuccessful instead. waitForDeploymentSuccessful does not throw error in non-success cases.
 */
export declare const waitForDeploymentSuccessful: (params: WaiterConfiguration<CodeDeployClient>, input: GetDeploymentCommandInput) => Promise<WaiterResult<GetDeploymentCommandOutput | CodeDeployServiceException>>;
/**
 *
 *  @param params - Waiter configuration options.
 *  @param input - The input to GetDeploymentCommand for polling.
 */
export declare const waitUntilDeploymentSuccessful: (params: WaiterConfiguration<CodeDeployClient>, input: GetDeploymentCommandInput) => Promise<WaiterResult<GetDeploymentCommandOutput>>;
