14 lines
654 B
TypeScript
14 lines
654 B
TypeScript
/// <reference types="node" />
|
|
import { Artifact, BaseBundleBuilder, BundleBuilderOptions } from './base';
|
|
import type { BundleWithDsseEnvelope } from '@sigstore/bundle';
|
|
import type { Signature } from '../signer';
|
|
type DSSEBundleBuilderOptions = BundleBuilderOptions & {
|
|
singleCertificate?: boolean;
|
|
};
|
|
export declare class DSSEBundleBuilder extends BaseBundleBuilder<BundleWithDsseEnvelope> {
|
|
private singleCertificate?;
|
|
constructor(options: DSSEBundleBuilderOptions);
|
|
protected prepare(artifact: Artifact): Promise<Buffer>;
|
|
protected package(artifact: Artifact, signature: Signature): Promise<BundleWithDsseEnvelope>;
|
|
}
|
|
export {};
|