import { Resource } from '../../index.js'; import type { Technology as PageTechDefinition, Category as PageTechCategory, Input as PageTechFingerprint, Resolution as PageTechnology } from 'wappalyzer-core'; export type { Technology as PageTechDefinition, Category as PageTechCategory, Input as PageTechFingerprint, Resolution as PageTechnology, } from 'wappalyzer-core'; /** * Options for detecting the technologies used on a given page. * * Spidergram's technology fingerprinting relies on the {@link https://github.com/wappalyzer/wappalyzer|wappalyzer}, * library, and full documentation on that project can be found at that project's home page. */ export interface TechAuditOptions { /** * An array of custom {@link PageTechDefinition} definitions to use in addition to * the base tech library. */ technologies?: Record; /** * An array of custom {@link PageTechCategory} definitions to supplement the base * tech categories. */ categories?: Record; /** * Rebuild the local cache of technology definitions; remote copies of the technology * and category JSON files will be downloaded and cached. */ forceReload?: boolean; /** * The remote URL of a category definition file. * * @type {?string} */ categoriesUrl?: string; /** * The remote URL of a technology definition file. * * @type {?string} */ technologiesUrl?: string; } export declare class TechAuditor { static loaded: boolean; static run(input: string | cheerio.Root | Response | Resource | undefined, fp?: PageTechFingerprint): Promise; static init(customOptions?: TechAuditOptions): Promise; protected static cacheTechnologies(techUrl: string): Promise; protected static cacheCategories(catUrl: string): Promise; protected static extractBodyData(html: string): Promise; protected static extractResponseInput(res: Response): Promise; protected static extractResourceInput(res: Resource): Promise; static summarize(input: PageTechnology[]): { name: string; version: string | undefined; categories: string[]; }[]; static summarizeByCategory(input: PageTechnology[]): Record; protected static wapifyDict(input: Record): Record; } //# sourceMappingURL=tech-auditor.d.ts.map