index.d.ts 508 B

12345678910
  1. import { TrustedRoot } from '@sigstore/protobuf-specs';
  2. import { TUFOptions as RequiredTUFOptions, TUF } from './client';
  3. export declare const DEFAULT_MIRROR_URL = "https://tuf-repo-cdn.sigstore.dev";
  4. export type TUFOptions = Partial<RequiredTUFOptions> & {
  5. force?: boolean;
  6. };
  7. export declare function getTrustedRoot(options?: TUFOptions): Promise<TrustedRoot>;
  8. export declare function initTUF(options?: TUFOptions): Promise<TUF>;
  9. export type { TUF } from './client';
  10. export { TUFError } from './error';