import { DiagnosticMessage, PrimingDiagnostic, Range } from './types'; /** * Returns the processed PrimingDiagnostic for a given DianosticMessage message key. If {args} are passed in, they will be substituted into * the message string in the order of the array. If a {filename} is passed in, a {Uri} will be generated that will be included in the DiagnosticMessage * in the format expected by the VSCode language server * @param {DiagnosticMessage} diagnosticMessage the unprocessed diagnostic message (the caller of this method looks up the message with a key) * @param {Range} range the line numbers and column numbers for the starting and endline line and starting and ending columns of the cause of the diagnostic * message in the code, respectively. * @param {Array} args arguments to substitute into the message string * @returns a new, processed instance of PrimingDiagnostic (with arguments substituted in, and Uri set) which is compatible with the VSCode language server */ export declare function getPrimingDiagnostic(diagnosticMessage: DiagnosticMessage, range: Range, args?: string[]): PrimingDiagnostic; /** * This method augments the PrimingDiagnostic with filename information. It augments the * object by reference and does not return a modified object. * @param {PrimingDiagnostic} primingDiagnostic The PrimingDiagnostic that needs to be augmented with filename informations * @param {string | undefined} filename The name of the file that the PrimingDiagnostic is for * @returns {PrimingDiagnostic} a PrimingDiagnostic (this is optional to use) */ export declare function updatePrimingDiagnosticWithFileInfo(primingDiagnostic: PrimingDiagnostic, filename: string | undefined): PrimingDiagnostic; export declare const diagnosticMessages: Record; //# sourceMappingURL=rules.d.ts.map