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