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