/** * Extracts the main content and citation information from a document or HTML string * @param {string|object} documentOrHTML - The document or HTML string to extract content from * @param {Object} options - Optional configuration options * @param {boolean} options.images default=true - Whether to include images in the extracted content * @param {boolean} options.links default=true - Whether to include links in the extracted content * @param {boolean} options.formatting default=true - Whether to preserve formatting in the extracted content * @param {string} options.url The URL of the original document, if available, for absolutify-ing URLs * @param {boolean} options.useExtractor2 default=false - * false uses Mozilla Readability, true uses Postlight Mercury. * then use the alternate if the first returns less than 200 characters * @returns {Object} The extracted content and citation information * @property {string} title - The title of the document * @property {string} author_cite - The full citation for the author * @property {string} author_short - A shortened version of the author's name * @property {string} author - The author's name * @property {string} date - The publication date * @property {string} source - The source of the document * @property {string} html - The extracted HTML content * @author [vtempest (2025)](https://github.com/vtempest) */ export declare function extractContentAndCite(documentOrHTML: any, options?: {}): { error: string; title?: undefined; author_cite?: undefined; author_short?: undefined; author?: undefined; date?: undefined; source?: undefined; html?: undefined; } | { title: string; author_cite: any; author_short: any; author: string; date: string; source: string; html: any; error?: undefined; }; /** * @typedef {Object} ExtractedContent * @property {string} title - The title of the content * @property {string} author_cite - The full citation for the author * @property {string} author_short - A shortened version of the author's name * @property {string} author - The author's name * @property {string} date - The publication date * @property {string} source - The source of the content * @property {string} html - The extracted main content in HTML format * @private */