/** * Remove comments so documentation never produces tags. Handles JS/TS block * and line comments (URL-safe: `https://` survives) and full/inline `#` * comments for Python-family files (`#` preceded by start-of-line or * whitespace, so string contents like "#fff" or `this.#field` survive). */ export declare function stripCommentsForTags(content: string): string; export declare function detectTags(content: string): string[]; /** * Per-route tag scoping for regex-based detectors: given the character offsets * where each route registration starts, tag each route from its own slice of * the file (registration start → next registration start) instead of the whole * file. Routes in one file with different policies stop inheriting each * other's tags. */ export declare function detectTagsScoped(content: string, starts: number[]): string[][]; /** Line-based variant for extractors that report line numbers (1-based). */ export declare function detectTagsForLineSpan(lines: string[], startLine: number, endLine: number): string[];