/** * @author WMXPY * @namespace Page * @description Page */ import { IImbricatePage, ImbricatePageAttributes, ImbricatePageBase, ImbricatePageCapability, ImbricatePageHistoryRecord } from "@imbricate/core"; import { IPageModel } from "../database/page/model"; export declare class MongoImbricatePage extends ImbricatePageBase implements IImbricatePage { static withModel(page: IPageModel): MongoImbricatePage; private readonly _page; readonly capabilities: ImbricatePageCapability; private constructor(); get title(): string; get identifier(): string; get directories(): string[]; get description(): string | undefined; get digest(): string; get historyRecords(): ImbricatePageHistoryRecord[]; get createdAt(): Date; get updatedAt(): Date; readContent(): Promise; writeContent(content: string): Promise; readAttributes(): Promise; writeAttribute(key: string, value: string): Promise; refreshUpdateMetadata(updatedAt: Date, digest: string): Promise; refreshUpdatedAt(updatedAt: Date): Promise; refreshDigest(digest: string): Promise; addHistoryRecord(record: ImbricatePageHistoryRecord): Promise; }