import { Diagnostic } from 'vscode-languageserver';
import { TextDocument } from 'vscode-languageserver-textdocument';
/**
 * Generates diagnostics for a document on open/save.
 * Reports warnings for references to API names that do not exist in the index.
 * Only flags tokens that clearly look like Salesforce API names.
 */
export declare function computeDiagnostics(document: TextDocument): Diagnostic[];
