import type { AnalyzeKeywordDensityOptions, AnalyzeKeywordDensityResult } from './types.js'; /** * Analyzes keyword density for one or more keywords in a text. * * Matching is case- and accent-insensitive, supports multi-word phrases, * and can optionally strip HTML before tokenization. * * Default thresholds: * - `minDensity`: `0.5` * - `maxDensity`: `3` * * @param options - Keyword density options and thresholds. * @returns Density metrics per keyword and analysis-level warning codes. * * @example * analyzeKeywordDensity({ * text: '
Project brief scope and timeline.
', * keywords: ['project brief', 'scope'], * stripHtml: true, * }); */ export declare const analyzeKeywordDensity: ({ text, keywords, stripHtml, thresholds, }: AnalyzeKeywordDensityOptions) => AnalyzeKeywordDensityResult;