UNPKG

flexiblepersistence

Version:
28 lines 1 kB
import { IDirectedEvent } from './iDirectedEvent'; import { IOptions } from './iOptions'; export declare class DirectedEvent { id: unknown; _id?: unknown; protected timestamp: string; content: IDirectedEvent | IDirectedEvent[] | unknown | unknown[]; protected selection: unknown; protected options?: IOptions; protected single: boolean; protected correct: boolean; protected replace?: boolean; constructor(event: IDirectedEvent); setContent(content?: IDirectedEvent | IDirectedEvent[]): void; getTimestamp(): string; getContent(): IDirectedEvent | IDirectedEvent[] | any | any[]; getSelection(): unknown; getOptions(): unknown; isSingle(): boolean; isCorrect(): boolean; isReplace(): boolean | undefined; getId(): unknown; setId(id: unknown): void; setOptions(options: IOptions): void; protected currentTimestamp(): string; protected pad(n: number): string | number; } //# sourceMappingURL=directedEvent.d.ts.map