import { BitObject } from '../objects'; import type Lane from './lane'; type Log = { date: string; username?: string; email?: string; message?: string; }; export type HistoryItem = { log: Log; components: string[]; deleted?: string[]; }; type History = { [uuid: string]: HistoryItem; }; type LaneHistoryProps = { name: string; scope: string; laneHash: string; history: History; }; export declare class LaneHistory extends BitObject { private name; private scope; private laneHash; private history; constructor(props: LaneHistoryProps); id(): string; static fromLaneObject(laneObject: Lane): LaneHistory; toObject(): Record; toString(pretty: boolean): string; toBuffer(pretty: any): Buffer; getHistory(): History; getHistoryIds(): string[]; addHistory(laneObj: Lane, msg?: string): Promise; merge(laneHistory: LaneHistory): void; static create(name: string, scope: string, laneHash: string): LaneHistory; static parse(contents: string): LaneHistory; } export {};