1/// <reference types="node" /> 2import { Envelope } from './sigstore'; 3import { OneOf } from './utility'; 4interface VerificationMaterial { 5 certificates: string[]; 6 key: { 7 id?: string; 8 value: string; 9 }; 10} 11export type SignatureMaterial = { 12 signature: Buffer; 13} & OneOf<VerificationMaterial>; 14export type SignerFunc = (payload: Buffer) => Promise<SignatureMaterial>; 15export declare function extractSignatureMaterial(dsseEnvelope: Envelope, publicKey: string): SignatureMaterial; 16export {}; 17