import { SourceFile, Tree } from "./tree"; import { TreeVisitor } from "./visitor"; export declare const ParseErrorKind = "org.openrewrite.tree.ParseError"; export interface ParseError extends SourceFile { readonly kind: typeof ParseErrorKind; readonly text: string; readonly erroneous?: SourceFile; } export declare function isParseError(tree: any): tree is ParseError; export declare class ParseErrorVisitor
extends TreeVisitor