import type { OpenId4VcSigningOptions } from '../types'; import { type BaseAgent, X509Certificate } from '@credo-ts/core'; export type SigningRole = 'issuer' | 'verifier'; type CertificateAgent = Pick & { did?: string; publicApiBaseUrl?: string; }; export interface SigningCertificateHandle { certificate: X509Certificate; chain: X509Certificate[]; keyId: string; development: boolean; } type DevelopmentDidAgent = { did?: string; dids: Pick; }; export declare function loadSigningCertificate(agent: CertificateAgent, signing: OpenId4VcSigningOptions, publicApiBaseUrl?: string | undefined, role?: SigningRole): Promise; export declare function didFromValidatedCertificate(certificate: X509Certificate): string; export declare function publishDevelopmentSigningKey(agent: DevelopmentDidAgent, signingCertificate: SigningCertificateHandle, role: SigningRole): Promise; export declare function assertCertificateChainUsable(chain: X509Certificate[], now?: Date): void; export {};