import { IErrorAnnotation } from '../../../language-parsers/sql-parser/parser/errors-listener'; import { CodeEditorInstance } from '../../../code-editor'; import { ModelConf } from '../../../core/ang/srv/ng-model/ng-model'; export interface HasGetErrorsMethod { getErrors(s: string): Promise; } export declare function getParamsOffset(editorInstance: CodeEditorInstance): number; export declare const attachErrorHandler: (initWorker: () => Promise, editorInstance: CodeEditorInstance, modelConf: ModelConf) => Promise;