import { CompletionContext, CompletionResult } from "@codemirror/autocomplete";
import { CODE_TYPE } from '../../../../../../components/CodeEditor/CodeMirror/extensions/interface';
export declare enum AutocompleteDataType {
    OBJECT = "Object",
    NUMBER = "Number",
    ARRAY = "Array",
    FUNCTION = "Function",
    BOOLEAN = "Boolean",
    STRING = "String",
    UNKNOWN = "Unknown"
}
export declare function getDataType(type: string): AutocompleteDataType;
export declare function checkCursorInDynamicFlag(context: CompletionContext, isFunction?: boolean): boolean;
export declare const ternSeverCompletionSource: (canShowCompleteInfo: boolean, codeType: CODE_TYPE) => (context: CompletionContext) => CompletionResult | Promise<CompletionResult | null> | null;
