UNPKG

@convergence/convergence

Version:
20 lines (19 loc) 881 B
import { HistoricalElement } from "./HistoricalElement"; import { HistoricalContainerElement } from "./HistoricalContainerElement"; import { ObservableObject, ObservableObjectEvents } from "../observable/ObservableObject"; import { Path, PathElement } from "../Path"; export interface HistoricalObjectEvents extends ObservableObjectEvents { } export declare class HistoricalObject extends HistoricalElement<{ [key: string]: any; }> implements HistoricalContainerElement<{ [key: string]: any; }>, ObservableObject { static readonly Events: HistoricalObjectEvents; get(key: string): HistoricalElement<any>; keys(): string[]; hasKey(key: string): boolean; forEach(callback: (model: HistoricalElement<any>, key?: string) => void): void; elementAt(path: Path): HistoricalElement<any>; elementAt(...elements: PathElement[]): HistoricalElement<any>; }