@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
13 lines • 574 B
TypeScript
import { importJWK, type JWK } from 'jose';
/** An ES256 key pair as stored in the state file. */
export interface StoredKey {
kid: string;
privateJwk: JWK;
publicJwk: JWK;
}
export declare function generateEs256Key(): Promise<StoredKey>;
export type SigningKey = Awaited<ReturnType<typeof importJWK>>;
export declare function importSigningKey(key: StoredKey): Promise<SigningKey>;
/** Only the public members of an EC JWK, as embedded in a DPoP header (RFC 9449 4.2). */
export declare function bareEcPublicJwk(jwk: JWK): JWK;
//# sourceMappingURL=keys.d.ts.map