export interface ArticleResult { title: string; content: string; excerpt: string | null; byline: string | null; length: number; } /** * Extract a readable article from HTML using Mozilla's Readability library. * * Uses dynamic import so the optional @mozilla/readability and linkedom * packages are only loaded when this function is actually called. Returns * null if either package is not installed or if the page cannot be parsed * into an article. * * @param html - Raw HTML string of the page * @param url - The page URL (used for resolving relative URLs internally) * @returns An ArticleResult with cleaned content, or null on failure */ export declare function extractArticle(html: string, url: string): Promise; //# sourceMappingURL=readability-backend.d.ts.map