

const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.js');
const require_zod = require('../../../../../utils/zod.js');
const require_jwk = require('../../jwk.js');
let zod = require("zod");

//#region src/modules/kms/jwk/kty/okp/okpJwk.ts
const zKmsJwkPublicOkp = zod.z.object({
	...require_jwk.vJwkCommon.shape,
	kty: zod.z.literal("OKP"),
	crv: zod.z.enum(["X25519", "Ed25519"]),
	x: require_zod.zBase64Url,
	d: zod.z.optional(require_zod.zBase64Url)
});
const zKmsJwkPrivateToPublicOkp = zod.z.object({
	...zKmsJwkPublicOkp.shape,
	d: require_zod.zOptionalToUndefined(require_zod.zBase64Url)
});
const zKmsJwkPrivateOkp = zod.z.object({
	...zKmsJwkPublicOkp.shape,
	d: require_zod.zBase64Url
});

//#endregion
exports.zKmsJwkPrivateOkp = zKmsJwkPrivateOkp;
exports.zKmsJwkPrivateToPublicOkp = zKmsJwkPrivateToPublicOkp;
exports.zKmsJwkPublicOkp = zKmsJwkPublicOkp;