type Book = { firstPageId: number; id: number; lastPageId: number; name: string; }; type Bookmark = { id: string; link: string; parent?: string; text: string; }; type Page = { id: number; index?: number; text: string; title: string; }; declare const getBook: (id: number) => Promise; declare const getPage: (book: number, page: number) => Promise; declare const getBookmarks: (book: number) => Promise; export { getBook, getBookmarks, getPage };