import * as jose from "jose"; import type { webcrypto as NodeWebCrypto } from "node:crypto"; import type { ReaderIdentity } from "../../types.js"; /** Reader cert chain (base64 DER, leaf-first) + the ES256 signing key. When * `identity` is supplied the STABLE reader is presented; otherwise a fresh * self-signed cert bound to `rpID` is minted (the presence-only default). */ export declare function makeReaderCert(rpID: string, identity?: ReaderIdentity): Promise<{ x5c: string[]; privateKey: NodeWebCrypto.CryptoKey; }>; export declare function makeEncryptionKey(): Promise<{ encJwk: jose.JWK; ecdhPrivateJwk: jose.JWK; }>;