import { InputPlugin } from '@mark-magic/core';
import { InputConfig } from './utils';
export declare function extractId(url: string): string;
interface ChapterMeta {
    bookId: string;
    id: string;
    title: string;
    content: string;
}
export declare function getBook(id: string): Promise<ChapterMeta[]>;
export declare function extractFromHTML(html: string): Pick<ChapterMeta, 'id' | 'title' | 'content'>[];
export declare function ao3(options: Pick<InputConfig, 'url'>): InputPlugin;
export {};
//# sourceMappingURL=ao3.d.ts.map