import { Request, EC2InstanceConnect as AWSEC2InstanceConnect } from 'aws-sdk';
declare type ReturnTypeFrom<K extends keyof AWSEC2InstanceConnect> = AWSEC2InstanceConnect[K] extends (...args: any) => Request<infer R, any> ? R : never;
declare type ParamsFrom<K extends keyof AWSEC2InstanceConnect, Extras> = AWSEC2InstanceConnect[K] extends {
    (param: infer P, callback: (...args: any) => void): Request<infer R, any>;
    (callback: (...args: any) => void): any;
} ? P & Extras : never;
export declare class EC2InstanceConnect {
    private readonly client;
    private constructor();
    readonly signingRegion: undefined;
    readonly service: "ec2-instance-connect";
    readonly global: false;
    readonly category: "Other";
    readonly topLevelCalls: readonly [];
    sendSSHPublicKey: (params: ParamsFrom<'sendSSHPublicKey', Record<string, never>>) => Promise<ReturnTypeFrom<'sendSSHPublicKey'>>;
    sendSerialConsoleSSHPublicKey: (params: ParamsFrom<'sendSerialConsoleSSHPublicKey', Record<string, never>>) => Promise<ReturnTypeFrom<'sendSerialConsoleSSHPublicKey'>>;
    static fromClient(client: AWSEC2InstanceConnect): EC2InstanceConnect;
    static client(options?: AWSEC2InstanceConnect.Types.ClientConfiguration): EC2InstanceConnect;
}
export {};
