import { Cache } from 'cache-manager'; import { Observable } from 'rxjs'; import { AppConfig } from 'src/config'; import { HydrusApiService } from 'src/hydrus-api/hydrus-api.service'; import { HydrusFileFromAPI } from 'src/hydrus-file'; import { Comic, ComicPage, ComicPageIndentifier } from './comic'; export declare class ComicService { private readonly hydrusApiService; private appConfig; private cacheManager; constructor(hydrusApiService: HydrusApiService, appConfig: AppConfig, cacheManager: Cache); private readonly logger; getFlatTags(file: HydrusFileFromAPI): any[]; processComicPage(file: HydrusFileFromAPI): ComicPage; getTitle(page: ComicPage): string; collator: Intl.Collator; compareTag(a: string, b: string): number; sortPages(pages: ComicPage[]): ComicPage[]; getComicPagesFromApi(id: string): Observable; getComic(id: string): Promise; processNextPrevPage(page: ComicPage): { hash: string; volume: string; chapter: string; page: string; }; getPage(id: string, hash: string): Promise<{ title: string; page: ComicPage; next: { hash: string; volume: string; chapter: string; page: string; }; prev: { hash: string; volume: string; chapter: string; page: string; }; first: { hash: string; volume: string; chapter: string; page: string; }; last: { hash: string; volume: string; chapter: string; page: string; }; }>; findPage(id: string, pageId: ComicPageIndentifier): Promise; }