import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
import { type DescribeBundleTasksCommandInput, type DescribeBundleTasksCommandOutput } from "../commands/DescribeBundleTasksCommand";
import type { EC2Client } from "../EC2Client";
import type { EC2ServiceException } from "../models/EC2ServiceException";
/**
 *
 *  @deprecated Use waitUntilBundleTaskComplete instead. waitForBundleTaskComplete does not throw error in non-success cases.
 */
export declare const waitForBundleTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeBundleTasksCommandInput) => Promise<WaiterResult<DescribeBundleTasksCommandOutput | EC2ServiceException>>;
/**
 *
 *  @param params - Waiter configuration options.
 *  @param input - The input to DescribeBundleTasksCommand for polling.
 */
export declare const waitUntilBundleTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeBundleTasksCommandInput) => Promise<WaiterResult<DescribeBundleTasksCommandOutput>>;
