import { z } from "zod"; import { type SourceLocation } from "../../runtime/sourcekit/protocol.js"; export declare const swiftGetSymbolDefinitionSchema: z.ZodObject<{ symbolName: z.ZodString; hint: z.ZodOptional; module: z.ZodOptional; }, "strip", z.ZodTypeAny, { filePath?: string | undefined; module?: string | undefined; }, { filePath?: string | undefined; module?: string | undefined; }>>; projectRoot: z.ZodOptional; candidatePaths: z.ZodOptional>; }, "strip", z.ZodTypeAny, { symbolName: string; candidatePaths?: string[] | undefined; hint?: { filePath?: string | undefined; module?: string | undefined; } | undefined; projectRoot?: string | undefined; }, { symbolName: string; candidatePaths?: string[] | undefined; hint?: { filePath?: string | undefined; module?: string | undefined; } | undefined; projectRoot?: string | undefined; }>; export type SwiftGetSymbolDefinitionInput = z.infer; export interface SwiftGetSymbolDefinitionResult { ok: boolean; symbolName: string; /** Definition locations returned by SourceKit-LSP (or pre-scan when LSP returns nothing). */ definitions: SourceLocation[]; /** When set, indicates we located the symbol via filename pre-scan rather than a true LSP query. */ preScanHit?: { filePath: string; matchedText: string; }; } export declare function swiftGetSymbolDefinition(input: SwiftGetSymbolDefinitionInput): Promise;