import { RestDocument } from "./RestDocument";
import { DocumentFile, HistoryEntry } from "../../../generated-sources";
import { DocumentManager } from "./DocumentManager";
export interface RestDocumentState<T_DOCUMENT extends RestDocument> {
    getDocumentId(): string;
    getDocumentFile(): DocumentFile;
    setDocumentFile(documentFile: DocumentFile): void;
    getHistory(): Array<HistoryEntry>;
    setHistory(historyEntries: Array<HistoryEntry>): void;
    getHistoryEntry(historyId: number): HistoryEntry;
    updateHistoryEntry(historyEntry: HistoryEntry): void;
    lastHistory(): HistoryEntry;
    getHistorySize(): number;
    activeHistory(): HistoryEntry;
    getDocumentManager(): DocumentManager<T_DOCUMENT>;
}
