import { KnownJwaSignatureAlgorithm } from "../jwk/jwa.mjs";
import { KmsCreateKeyType } from "./KmsCreateKeyOptions.mjs";
import { KmsDecryptDataDecryption } from "./KmsDecryptOptions.mjs";
import { KmsEncryptDataEncryption } from "./KmsEncryptOptions.mjs";
import { KmsKeyAgreementDecryptOptions } from "./KmsKeyAgreementDecryptOptions.mjs";
import { KmsKeyAgreementEncryptOptions } from "./KmsKeyAgreementEncryptOptions.mjs";
import { KmsJwkPrivate } from "../jwk/knownJwk.mjs";
import "../jwk/index.mjs";

//#region src/modules/kms/options/KmsOperation.d.ts
type KmsOperationCreateKey = {
  operation: 'createKey';
  type: KmsCreateKeyType;
};
type KmsOperationImportKey = {
  operation: 'importKey';
  privateJwk: KmsJwkPrivate;
};
type KmsOperationDeleteKey = {
  operation: 'deleteKey';
};
type KmsOperationSign = {
  operation: 'sign';
  algorithm: KnownJwaSignatureAlgorithm;
};
type KmsOperationVerify = {
  operation: 'verify';
  algorithm: KnownJwaSignatureAlgorithm;
};
type KmsOperationEncrypt = {
  operation: 'encrypt';
  encryption: KmsEncryptDataEncryption;
  keyAgreement?: KmsKeyAgreementEncryptOptions;
};
type KmsOperationDecrypt = {
  operation: 'decrypt';
  decryption: KmsDecryptDataDecryption;
  keyAgreement?: KmsKeyAgreementDecryptOptions;
};
type KmsOperationRandomBytes = {
  operation: 'randomBytes';
};
type KmsOperation = KmsOperationCreateKey | KmsOperationImportKey | KmsOperationDeleteKey | KmsOperationSign | KmsOperationVerify | KmsOperationEncrypt | KmsOperationDecrypt | KmsOperationRandomBytes;
declare function getKmsOperationHumanDescription(operation: KmsOperation): string;
//#endregion
export { KmsOperation, KmsOperationCreateKey, KmsOperationDecrypt, KmsOperationDeleteKey, KmsOperationEncrypt, KmsOperationImportKey, KmsOperationSign, KmsOperationVerify, getKmsOperationHumanDescription };
//# sourceMappingURL=KmsOperation.d.mts.map