import * as cheerio from 'cheerio'; import { TPropertyObject } from 'tscommons-esm-core'; import { DatabaseService } from '../services/database.service.mjs'; import { IParserConfig } from '../interfaces/iparser-config.mjs'; import { IRequestOutcome } from '../interfaces/irequest-outcome.mjs'; import { HtmlParser } from './html.parser.mjs'; import { IDataConfig } from './data.parser.mjs'; export interface IHyperlinksConfig extends IDataConfig { sources: string[]; } export declare function isIHyperlinksConfig(test: unknown): test is IHyperlinksConfig; export declare class HyperlinksParser extends HtmlParser { private url?; static parseTagLinks(dom: cheerio.CheerioAPI, tag: string, attribute: string): string[]; static getBaseHref(dom: cheerio.CheerioAPI, url: string): string | undefined; private hyperlinksConfig; constructor(url?: string | undefined, outcome?: IRequestOutcome, config?: TPropertyObject); parse(database: DatabaseService): Promise; links(): Promise; }