import type { BookSummary, Chapter, Volume } from '../domain/book.js'; import type { BookDetails } from './parser.js'; import { HttpClient, type HttpClientOptions } from '../http/client.js'; export type ToplistSort = 'dayvisit' | 'monthvisit' | 'allvisit' | 'goodnum' | 'postdate'; export type SugoiYear = 2026 | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007 | 2006 | 2005; export declare class Wenku8Client { readonly http: HttpClient; constructor(options?: HttpClientOptions); getBookDetails(bookId: number, signal?: AbortSignal): Promise<{ book: BookDetails; raw: string; }>; getCatalogue(url: string, signal?: AbortSignal): Promise<{ volumes: Volume[]; raw: string; }>; getChapter(chapter: Chapter, signal?: AbortSignal): Promise<{ chapter: Chapter; raw: string; }>; search(keyword: string, type?: 'articlename' | 'author'): Promise; toplist(sort?: ToplistSort): Promise; sugoi(year?: SugoiYear): Promise; private getPackedChapter; } export declare function isCopyrightUnavailable(html: string): boolean; export declare function packedChapterIds(url: string): { bookId: string; chapterId: string; } | undefined; //# sourceMappingURL=client.d.ts.map