import type { Page } from 'puppeteer-core'; import { DefuddleOptions } from 'defuddle/node'; export declare const extractWithReadability: (page: Page, options?: { markdown?: boolean; }) => Promise<{ title: string; content: string; }>; export declare const extractWithDefuddle: (html: string, url: string, options: DefuddleOptions) => Promise<{ title: string; content: string; }>; /** * Extract content from a page using Defuddle or Readability * page html -> markdown * @param page - The page to extract content from * @returns The title and content of the page */ export declare const extractContent: (page: Page) => Promise<{ title: string; content: string; }>; //# sourceMappingURL=extract-content.d.ts.map