MyRepo-Ums/node_modules/@sigstore/bundle/dist/validate.d.ts
2024-01-19 11:09:11 +01:00

7 lines
438 B
TypeScript

import type { Bundle as ProtoBundle } from '@sigstore/protobuf-specs';
import type { Bundle, BundleLatest, BundleV01 } from './bundle';
export declare function assertBundle(b: ProtoBundle): asserts b is Bundle;
export declare function assertBundleV01(b: Bundle): asserts b is BundleV01;
export declare function isBundleV01(b: Bundle): b is BundleV01;
export declare function assertBundleLatest(b: ProtoBundle): asserts b is BundleLatest;