import type { JsonWebKey } from "did-resolver"; import type { ByteView } from "multiformats/codecs/interface"; export declare const name = "jwk_jcs-pub"; export declare const code = 60241; type ECJsonWebKey = JsonWebKey & { crv: string; kty: "EC"; x: string; y: string; }; type OKPJsonWebKey = JsonWebKey & { crv: string; kty: "OKP"; x: string; }; type RSAJsonWebKey = JsonWebKey & { e: string; kty: "RSA"; n: string; }; type SupportedJsonWebKey = ECJsonWebKey | OKPJsonWebKey | RSAJsonWebKey; export declare function decode(bytes: ByteView): JsonWebKey; export declare function encode(jwk: unknown): Uint8Array; export declare function validateJwk(jwk: unknown): asserts jwk is SupportedJsonWebKey; export {}; //# sourceMappingURL=jwk_jcs-pub.d.ts.map