1import type { FetchOptions } from '../types/fetch'; 2export type FulcioOptions = { 3 baseURL: string; 4} & FetchOptions; 5export interface SigningCertificateRequest { 6 credentials: { 7 oidcIdentityToken: string; 8 }; 9 publicKeyRequest: { 10 publicKey: { 11 algorithm: string; 12 content: string; 13 }; 14 proofOfPossession: string; 15 }; 16} 17export interface SigningCertificateResponse { 18 signedCertificateEmbeddedSct?: { 19 chain: { 20 certificates: string[]; 21 }; 22 }; 23 signedCertificateDetachedSct?: { 24 chain: { 25 certificates: string[]; 26 }; 27 signedCertificateTimestamp: string; 28 }; 29} 30/** 31 * Fulcio API client. 32 */ 33export declare class Fulcio { 34 private fetch; 35 private baseUrl; 36 constructor(options: FulcioOptions); 37 createSigningCertificate(request: SigningCertificateRequest): Promise<SigningCertificateResponse>; 38} 39