import type { Declaration } from '../types';
/**
 * Extract declarations using the fast string scanner (no TS parser).
 * Results are cached by file path + keepComments flag.
 */
export declare function extractDeclarations(sourceCode: string, filePath: string, keepComments?: boolean, isolatedDeclarations?: boolean): Declaration[];
/**
 * Clear the declaration cache (for benchmarks and testing)
 */
export declare function clearDeclarationCache(): void;
