/** * Find References Tool * Find all usages of a symbol (method, class, field, table) * Critical for understanding impact before making changes */ import type { CallToolRequest } from '@modelcontextprotocol/sdk/types.js'; import { z } from 'zod'; import type { XppServerContext } from '../../types/context.js'; export declare const FindReferencesArgsSchema: z.ZodObject<{ targetName: z.ZodOptional; name: z.ZodOptional; targetType: z.ZodOptional>; ownerName: z.ZodOptional; scope: z.ZodDefault>>; limit: z.ZodDefault>; includeContext: z.ZodDefault>; }, z.core.$strip>; /** * Detect and normalize a label where-used target. Labels live in the xref DB * under "/Labels/@", where is either the old concatenated form * ("@WAX2194") or the newer "@LabelFile:LabelId" form * ("@ApplicationPlatform:AbortButtonText"). Both forms are stored verbatim in * the xref Names table, so we match exactly and never convert between them. * Returns the "/Labels/@…" path, or null when the target isn't a label. */ export declare function resolveLabelTarget(targetName: string, targetType?: string): string | null; export declare function findReferencesTool(request: CallToolRequest, context: XppServerContext): Promise; //# sourceMappingURL=findReferences.d.ts.map