import { IMangaChapterPage, IMangaInfo, IMangaResult, ISearch, MangaParser } from '../../models'; declare class ComicK extends MangaParser { readonly name = "ComicK"; protected baseUrl: string; protected logo: string; protected classPath: string; private readonly apiUrl; /** * @description Fetches info about the manga * @param mangaId Comic slug * @returns Promise */ fetchMangaInfo: (mangaId: string) => Promise; /** * * @param chapterId Chapter ID (HID) * @returns Promise */ 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>; private fetchAllChapters; /** * @description Fetches the comic ID from the slug * @param id Comic slug * @returns Promise -1 if not found */ private getComicId; } export default ComicK;