import { Signable } from './base'; import { JSONObject, JSONValue } from './utils'; export interface KeyOptions { keyID: string; keyType: string; scheme: string; keyVal: Record; unrecognizedFields?: Record; } export declare class Key { readonly keyID: string; readonly keyType: string; readonly scheme: string; readonly keyVal: Record; readonly unrecognizedFields?: Record; constructor(options: KeyOptions); verifySignature(metadata: Signable): void; equals(other: Key): boolean; toJSON(): JSONObject; static fromJSON(keyID: string, data: JSONObject): Key; }