import HistoryEvent from './HistoryEvent'; import { HistoryOptions } from './types'; /** * Base class for a canvas history. */ export default abstract class History { /** * The ID of the canvas history object * @public */ readonly id: string; /** * The timestamp when the history was created. * @public */ readonly timestamp: number; /** * The ID of the user who created the history * @public */ readonly creatorId: string; /** * The event that took place * @public */ readonly event: HistoryEvent; protected constructor(options: HistoryOptions); }