import { Chapter, Comment, Problem, Supplement } from '@heduapp/book-objects/business-object'; import { UUID } from '@heduapp/book-objects/business-object/abstract-business-object'; import { Transaction } from 'objection'; import { ContentGroup, ContentGroupTypes } from '../db/model'; export declare const ContentGroupBookChapterTypes: { BOOK: ContentGroupTypes; WORKSHEET_BOOK: ContentGroupTypes; PREPARATIONS_BOOK: ContentGroupTypes; TESTS_BOOK: ContentGroupTypes; MIXTURE_BOOK: ContentGroupTypes; }; export declare function appendExerciseToChapter(trx: Transaction, chapter: ContentGroup, newExercise: Problem | Supplement | Comment, extendedFromID?: UUID): Promise; export declare function appendChapterToBook(trx: Transaction, book: ContentGroup, newChapter: Chapter): Promise;