NET-Web-API-w-Angular/my-app/node_modules/@sigstore/bundle/dist/validate.d.ts

7 lines
438 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
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;