// AUTO-GENERATED by scripts/generate-types.js - do not hand-edit. import type { OASISResponse } from '../core/types'; export declare class ChaptersModule { constructor(http: unknown); /** POST api/chapters/{id}/activate (query: version) */ activateChapter(args?: Record): Promise; /** POST api/chapters/ */ createChapter(args?: Record): Promise; /** POST api/chapters/create */ createChapterWithOptions(args?: Record): Promise; /** POST api/chapters/{id}/deactivate (query: version) */ deactivateChapter(args?: Record): Promise; /** DELETE api/chapters/{id} */ deleteChapter(args?: Record): Promise; /** POST api/chapters/{id}/download (query: version, downloadPath, reInstall) */ downloadChapter(args?: Record): Promise; /** POST api/chapters/{id}/edit */ editChapter(args?: Record): Promise; /** GET api/chapters/ */ getAllChapters(args?: Record): Promise; /** GET api/chapters/{id} */ getChapter(args?: Record): Promise; /** GET api/chapters/{id}/versions */ getChapterVersions(args?: Record): Promise; /** GET api/chapters/load-all-for-avatar (query: showAllVersions, version) */ loadAllChaptersForAvatar(args?: Record): Promise; /** GET api/chapters/{id}/load (query: version, holonType) */ loadChapter(args?: Record): Promise; /** GET api/chapters/load-from-path (query: path, holonType) */ loadChapterFromPath(args?: Record): Promise; /** GET api/chapters/load-from-published (query: publishedFilePath) */ loadChapterFromPublished(args?: Record): Promise; /** GET api/chapters/{id}/version/{version} */ loadChapterVersion(args?: Record): Promise; /** POST api/chapters/{id}/publish */ publishChapter(args?: Record): Promise; /** POST api/chapters/{id}/republish (query: version) */ republishChapter(args?: Record): Promise; /** GET api/chapters/search (query: query) */ searchChapters(args?: Record): Promise; /** POST api/chapters/{id}/unpublish (query: version) */ unpublishChapter(args?: Record): Promise; /** PUT api/chapters/{id} */ updateChapter(args?: Record): Promise; }