import { IMangaChapterPage, IMangaInfo, IMangaResult, ISearch, MangaParser } from '../../models'; declare class MangaDex extends MangaParser { readonly name = "MangaDex"; protected baseUrl: string; protected logo: string; protected classPath: string; private readonly apiUrl; fetchMangaInfo: (mangaId: string) => Promise; /** * @currently only supports english */ fetchChapterPages: (chapterId: string) => Promise; /** * @param query search query * @param page page number (default: 1) * @param limit limit of results to return (default: 20) (max: 100) (min: 1) */ search: (query: string, page?: number, limit?: number) => Promise>; fetchRandom: () => Promise>; fetchRecentlyAdded: (page?: number, limit?: number) => Promise>; fetchLatestUpdates: (page?: number, limit?: number) => Promise>; fetchPopular: (page?: number, limit?: number) => Promise>; private fetchAllChapters; private fetchCoverImage; } export default MangaDex;