import type { Location, Position, ReferenceContext } from "vscode-languageserver-types";
import { type DocumentLike } from "../index.js";
import type { SourceFile } from "../types.js";
export declare function findReferences(doc: DocumentLike, sourceFile: SourceFile, position: Position, context: ReferenceContext): Location[];
export declare function findDefinition(doc: DocumentLike, sourceFile: SourceFile, position: Position): Location | undefined;
