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