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<Book>;
declare const getPage: (book: number, page: number) => Promise<Page>;
declare const getBookmarks: (book: number) => Promise<Bookmark[]>;

export { getBook, getBookmarks, getPage };
