export interface BuildReleaseInput { distDir: string; signedManifestPath: string; sbomPath: string; outputPath: string; authorityRoot: string; protectedState: Record; } export interface BuildReleaseTestInput extends Omit< BuildReleaseInput, "authorityRoot" > { trustPolicyPath: string; now: string; verifySignedReleaseEnvelope: (input: any) => unknown; } export function buildReleasePackage(input: BuildReleaseInput): Promise<{ releaseId: string; manifestDigest: string; archivePath: string; }>; export function buildReleasePackageForTest( input: BuildReleaseTestInput, ): ReturnType;