| 1 |
import { Metadata, Root, Snapshot, TargetFile, Targets, Timestamp } from '@tufjs/models'; |
| 2 |
import { KeyPair } from './key'; |
| 3 |
export declare function createTargetsMeta(targetFiles: TargetFile[], keyPair: KeyPair): Metadata<Targets>; |
| 4 |
export declare function createSnapshotMeta(targets: Metadata<Targets>, keyPair: KeyPair): Metadata<Snapshot>; |
| 5 |
export declare function createTimestampMeta(snapshot: Metadata<Snapshot>, keyPair: KeyPair): Metadata<Timestamp>; |
| 6 |
export declare function createRootMeta(keyPair: KeyPair): Metadata<Root>; |