UNPKG

goodreads-bookshelf

Version:
14 lines (13 loc) 439 B
import { Book } from './book'; import { Bookshelf } from './bookshelf'; export declare class GoodreadsBookshelf implements Bookshelf { private _bookshelfBuilder; private _bookshelf; constructor(id: string, key: string, version?: number, perPage?: number, page?: number); getBooks(): Promise<void>; readBooks(): Book[]; readingBooks(): Book[]; readBooksGroupedByYear(): { [key: number]: Book[]; }; }