import Scuttlebutt from '..'; import { ScuttlebuttOptions, Sources, Update, ModelAccept } from '../interfaces'; declare class Model extends Scuttlebutt { store: Map; constructor(opts?: ScuttlebuttOptions | string); set(k: string, v: any): void | this; get(k: string, withClock?: boolean): any; keys(): string[]; applyUpdate(update: Update): boolean; isAccepted(peerAccept: ModelAccept, update: Update): boolean; history(peerSources: Sources, peerAccept?: ModelAccept): Update[]; toJSON(): Record; } export { Model };