

const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.js');
const require_jwa = require('../jwk/jwa.js');
const require_zod = require('../../../utils/zod.js');
const require_knownJwk = require('../jwk/knownJwk.js');
const require_common = require('./common.js');
let zod = require("zod");
zod = require_rolldown_runtime.__toESM(zod);

//#region src/modules/kms/options/KmsVerifyOptions.ts
const zKmsVerifyOptions = zod.z.object({
	key: zod.z.union([zod.z.object({
		keyId: require_common.zKmsKeyId,
		publicJwk: zod.z.never().optional()
	}), zod.z.object({
		publicJwk: require_knownJwk.zKmsJwkPublicAsymmetric,
		keyId: zod.z.never().optional()
	})]),
	algorithm: require_jwa.zKnownJwaSignatureAlgorithm.describe("The JWA signature algorithm to use for verification"),
	data: require_zod.zAnyUint8Array.describe("The data to verify"),
	signature: require_zod.zAnyUint8Array.describe("The signature on the data to verify")
});

//#endregion
exports.zKmsVerifyOptions = zKmsVerifyOptions;