import { SyntaxNode } from '@lcap/nasl-concepts'; import { Translator } from '@lcap/nasl-types'; import { Diagnostic } from '../manager/diagnostic'; export type MinRange = Translator.MinRange; export declare function outOriginalvalue(value: string): string; export declare function translateDiagnosticMessage(message: string): string; /** * 节点和ts 报错结合,转成更精准的ts报错 * @param minRange * @param tsErrorDetail 报错具体信息 * @returns */ export declare function naslNodeTranslateMessage(minRange: MinRange, tsErrorDetail: Diagnostic, performance: boolean): Diagnostic | null; export declare function checkAStructure_(errorText: string): boolean; //# sourceMappingURL=translator.d.ts.map