import { CompletionContext, CompletionResult } from "@codemirror/autocomplete";
import { CODE_TYPE } from '../../../../../components/CodeEditor/CodeMirror/extensions/interface';
export declare function getDataInfo(data: Record<string, unknown>, path: string): {
    currentData: Record<string, unknown>;
    descInfos: Record<string, any>;
    offset: number;
    prefix: string;
};
export declare const buildIllaContextCompletionSource: (canShowCompleteInfo: boolean, codeType: CODE_TYPE, executionResult: Record<string, unknown>) => (context: CompletionContext) => CompletionResult | Promise<CompletionResult | null> | null;
