UNPKG

@imbricate/core

Version:

Imbricate Core, Notebook for Engineers

19 lines (18 loc) 1.33 kB
/** * @author WMXPY * @namespace Document * @description Essential */ import { DocumentAnnotationValue, DocumentAnnotations, DocumentEditRecord, ImbricateDocumentAuditOptions } from "../definition"; import { IMBRICATE_DOCUMENT_FEATURE } from "../feature"; import { IImbricateDocument } from "../interface"; import { ImbricateDocumentAddEditRecordsOutcome, ImbricateDocumentDeleteAnnotationOutcome, ImbricateDocumentGetEditRecordsOutcome, ImbricateDocumentPutAnnotationOutcome } from "../outcome"; import { ImbricateDocumentFullFeatureBase } from "./full-feature"; export declare abstract class ImbricateDocumentEssentialBase extends ImbricateDocumentFullFeatureBase implements IImbricateDocument { readonly annotations: DocumentAnnotations; readonly supportedFeatures: IMBRICATE_DOCUMENT_FEATURE[]; putAnnotation(_namespace: string, _identifier: string, _value: DocumentAnnotationValue, _auditOptions?: ImbricateDocumentAuditOptions): Promise<ImbricateDocumentPutAnnotationOutcome>; deleteAnnotation(_namespace: string, _identifier: string, _auditOptions?: ImbricateDocumentAuditOptions): Promise<ImbricateDocumentDeleteAnnotationOutcome>; addEditRecords(_records: DocumentEditRecord[]): Promise<ImbricateDocumentAddEditRecordsOutcome>; getEditRecords(): Promise<ImbricateDocumentGetEditRecordsOutcome>; }