/** * Extract function/class/method/variable names from a unified diff. * * Used by `dim context --diff` to tighten memory matching: instead of * searching by file path only, we also search by the symbols that were * actually changed in the diff. */ /** * Extract symbol names from added lines in a unified diff. * Returns unique, deduplicated symbol names (lowercased for matching). */ export declare function extractDiffSymbols(diff: string): string[]; /** * Extract symbols from a git diff between refs. */ export declare function gitDiffSymbols(repoRoot: string, base?: string, staged?: boolean): string[];