import { ParserRuleContext } from 'antlr4ts/ParserRuleContext';
import * as lsp from 'vscode-languageserver';
import { Range, TextDocument } from 'vscode-languageserver-textdocument';
import { CompletionItem } from 'vscode-languageserver/node';
export declare function rangeFromContext(ctx: ParserRuleContext): Range;
export declare function positionInRange(document: TextDocument, position: lsp.Position, range: lsp.Range): boolean;
export declare function rangeInRange(document: TextDocument, range1: lsp.Range, range2: lsp.Range): boolean;
export declare function rangeDistance(document: TextDocument, range1: lsp.Range, range2: lsp.Range): number;
export declare function toDiagnosticSeverity(category: string): lsp.DiagnosticSeverity;
export declare function toFoldingRange(range: lsp.Range, kind?: string): lsp.FoldingRange;
export declare function instanceOfRange(obj: any): obj is Range;
export declare function toCompletionItem(type: 'catalog' | 'database' | 'table' | 'column' | 'view' | 'function' | 'built-in', label: string, insertText: string, detail: string, documentation?: string): CompletionItem;
