import { Command } from './core'; import { Interpreter } from './interpreter'; export interface AnalyzeInfo { level: 'notice' | 'warning' | 'error'; line: number; sample_before?: string; sample_after?: string; sample?: string; message: string; file?: string; } export declare class Analyzer { interpreter: Interpreter; constructor(interpreter: Interpreter); getNodes(ast: Command[], filter: (x: Command) => boolean): Command[]; private validateVariable; private validateFunction; private validateTask; validate(ast: Command[]): AnalyzeInfo[]; }