import { Page, PublishedPage, CreatePagePayload, CreatePageFromCopyPayload, Version, MovePagePayload, RenamePagePayload, RecurringSchedule, VersionedPage, Schema, Folder } from '../types/api'; export default class PageApi { static getAllPages(): Promise; static getPublishedPages(): Promise; static getFolders(): Promise; static getSchema(): Promise; static getPageById(id: string): Promise; static getPageVersionsById(id: string): Promise; static create({ version, name, parentId }: CreatePagePayload): Promise; static createFromCopy(payload: CreatePageFromCopyPayload): Promise; static move({ page, newParentId }: MovePagePayload): Promise; static rename({ page, name }: RenamePagePayload): Promise; static delete(page: Page): Promise; static updateVersion(version: Version): Promise; static publishVersion(version: Version): Promise; static depublishVersion(version: Version): Promise; static copyVersion(version: Version): Promise; static deleteVersion(version: Version): Promise; static previewUrl(version: Version, versionCounter: number): string | null; static scheduledVersionIds(pageId: string): Promise; static getRecurrentSchedulesForId(id: string): Promise; static scheduleDaily(schedule: RecurringSchedule): Promise; static deleteSchedule(id: string): Promise; }