import { HtmlToTextOptions } from 'html-to-text'; export { HtmlToTextOptions } from 'html-to-text'; /** * Convert HTML markup into plain text * * @param html - Markup of a complete or partial web page * @param options - Flags to control HTML traversal and formatting * @param options.wordwrap - Set the line length or disable wrapping entirely with 'false' * @param options.baseElements.selectors - An array of CSS selectors to identify the page's primary content. * @param options.limits.maxBaseElements - Increase to allow multiple primary content elements */ export declare function getPlaintext(input: string | cheerio.Root, options?: HtmlToTextOptions): string; /** * Convert HTML markup into the textual content that would likely be read * by a screen reader. Primarily intended for short runs of text whose * visible and readable representations may differ dramatically. */ export declare function getReadableText(input: string | cheerio.Root, options?: HtmlToTextOptions): string; /** * Convert HTML markup into its visible textual content. Primarily intended for short * runs of text whose visible and readable representations may differ dramatically. */ export declare function getVisibleText(input: string | cheerio.Root, options?: HtmlToTextOptions): string; export declare const readableTextOptions: HtmlToTextOptions; export declare const visibleTextOptions: HtmlToTextOptions; //# sourceMappingURL=get-plaintext.d.ts.map