import { RestDocumentState } from "./RestDocumentState";
import { RestWebServiceDocument } from "./RestWebServiceDocument";
import { DocumentFile, HistoryEntry } from "../../../generated-sources";
import { DocumentManager } from "./DocumentManager";
import { RestWebServiceDocumentManager } from "./RestWebServiceDocumentManager";
export declare class RestWebServiceDocumentState implements RestDocumentState<RestWebServiceDocument> {
    private readonly historyMap;
    private readonly _documentManager;
    private _documentFile;
    constructor(documentFile: DocumentFile, documentManager: RestWebServiceDocumentManager);
    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<RestWebServiceDocument>;
}
