import { Diagnostic } from 'vscode-languageserver'; import { TextDocument } from 'vscode-languageserver-textdocument'; import { Connection } from 'vscode-languageserver'; export interface RunQuerySuccessResponse { done: boolean; records: any[]; totalSize: number; } export interface RunQueryErrorResponse { name: string; errorCode: string; message: string; } export declare class Validator { static validateSoqlText(textDocument: TextDocument): Diagnostic[]; static validateLimit0Query(textDocument: TextDocument, connection: Connection): Promise; }