import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter"; import { type DescribeVolumesCommandInput, type DescribeVolumesCommandOutput } from "../commands/DescribeVolumesCommand"; import type { EC2Client } from "../EC2Client"; import type { EC2ServiceException } from "../models/EC2ServiceException"; /** * * @deprecated Use waitUntilVolumeInUse instead. waitForVolumeInUse does not throw error in non-success cases. */ export declare const waitForVolumeInUse: (params: WaiterConfiguration, input: DescribeVolumesCommandInput) => Promise>; /** * * @param params - Waiter configuration options. * @param input - The input to DescribeVolumesCommand for polling. */ export declare const waitUntilVolumeInUse: (params: WaiterConfiguration, input: DescribeVolumesCommandInput) => Promise>;