import type { Position, ReferenceContext, Location } from "vscode-languageserver-types";
import type { SourceFile } from "../types.js";
import { type DocumentLike } from "../index.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;
