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