import type { CcRequestParams } from '../../../../types/request.types.js'; import { CcApiCompositeCommand, CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { CcApiComposer } from '../../types/cc-api.types.js'; import type { CreatePersonalSshKeyCommandInput, CreatePersonalSshKeyCommandOutput } from './create-personal-ssh-key-command.types.js'; /** * Registers a public SSH key on the current user's account. * * The endpoint answers a confirmation message rather than the stored key, so the key list is fetched * afterwards to return it with its fingerprint. * * @endpoint [PUT] /v2/self/keys/:XXX * @endpoint [GET] /v2/self/keys * @group SshKey * @version 2 */ export declare class CreatePersonalSshKeyCommand extends CcApiCompositeCommand { compose(params: CreatePersonalSshKeyCommandInput, composer: CcApiComposer): Promise; isIdempotent(): boolean; } /** * Registers a public SSH key, without reading it back. * * @endpoint [PUT] /v2/self/keys/:XXX * @group SshKey * @version 2 */ export declare class CreatePersonalSshKeyInnerCommand extends CcApiSimpleCommand { toRequestParams(params: CreatePersonalSshKeyCommandInput): Partial; transformCommandOutput(): undefined; isIdempotent(): boolean; } //# sourceMappingURL=create-personal-ssh-key-command.d.ts.map