import type { Variable } from "../env";
import { type AtomExpr, type Expr } from "../expr";
import { type Token } from "../token";
export declare function findTokenAtPosition(tokens: Token[], line: number, character: number): Token | null;
export declare function collectExpressionCandidates(exprs: Expr[], targetToken: Token, candidateExprs: AtomExpr[]): void;
export declare function findBestExpressionMatch(exprs: Expr[], targetToken: Token, targetLine: number): Expr | null;
export declare function selectBestVariableAtPosition(variables: Variable[], targetToken: Pick<Token, "position" | "modulePath">): Variable | undefined;
export declare function walkExprs(exprs: Expr[], visitor: (expr: Expr) => void): void;
export declare function modulePathToUri(modulePath: string): string;
export declare function uriToModulePath(uri: string): string;
export declare function modulePathToFsPath(modulePath: string): string;
