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