import { Diagnostic } from 'vscode-languageserver-types';
import { TextDocument } from 'vscode-languageserver-textdocument';
import { DbSchema } from '../dbSchema';
import { SymbolTable } from '../types';
export type SyntaxDiagnostic = Diagnostic & {
    offsets: {
        start: number;
        end: number;
    };
};
export declare function clampUnsafePositions(diagnostics: SyntaxDiagnostic[], document: TextDocument): SyntaxDiagnostic[];
export declare function sortByPositionAndMessage(a: SyntaxDiagnostic, b: SyntaxDiagnostic): number;
export declare function lintCypherQuery(query: string, dbSchema: DbSchema, consoleCommandsEnabled?: boolean): {
    diagnostics: SyntaxDiagnostic[];
    symbolTables: SymbolTable[];
};
