import type * as tsvfs from "@typescript/vfs";
import { type Completion } from "@codemirror/autocomplete";
export declare function getCompletionsAtPos({ pos, fileName, env, }: {
    env: tsvfs.VirtualTypeScriptEnvironment;
    fileName: string;
    pos: number;
}): Promise<{
    result: {
        from: number;
        options: {
            label: string;
            type: "module";
            boost: number;
        }[];
    };
    isGlobal: boolean;
} | {
    result: {
        from: number;
        options: Completion[];
    };
    isGlobal: boolean;
} | null>;
export declare function getModuleNamesFromVfs(env: tsvfs.VirtualTypeScriptEnvironment): string[];
