///
import { Metadata, Root, Snapshot, Targets, Timestamp } from '@tufjs/models';
export declare class TrustedMetadataStore {
private trustedSet;
private referenceTime;
constructor(rootData: Buffer);
get root(): Metadata;
get timestamp(): Metadata | undefined;
get snapshot(): Metadata | undefined;
get targets(): Metadata | undefined;
getRole(name: string): Metadata | undefined;
updateRoot(bytesBuffer: Buffer): Metadata;
updateTimestamp(bytesBuffer: Buffer): Metadata;
updateSnapshot(bytesBuffer: Buffer, trusted?: boolean): Metadata;
updateDelegatedTargets(bytesBuffer: Buffer, roleName: string, delegatorName: string): void;
private loadTrustedRoot;
private checkFinalTimestamp;
private checkFinalSnapsnot;
}