validate.d.ts 527 B

1234567
  1. import type { Bundle as ProtoBundle } from '@sigstore/protobuf-specs';
  2. import type { Bundle, BundleLatest, BundleV01 } from './bundle';
  3. export declare function assertBundle(b: ProtoBundle): asserts b is Bundle;
  4. export declare function assertBundleV01(b: ProtoBundle): asserts b is BundleV01;
  5. export declare function isBundleV01(b: Bundle): b is BundleV01;
  6. export declare function assertBundleV02(b: ProtoBundle): asserts b is BundleLatest;
  7. export declare function assertBundleLatest(b: ProtoBundle): asserts b is BundleLatest;