import { ParseError } from "@fncts/schema/ParseError"; import { Maybe } from "@fncts/base/data/Maybe/definition"; import { Vector } from "@fncts/base/collection/immutable/Vector"; import { RoseTree } from "@fncts/base/collection/immutable/RoseTree"; import { Lazy } from "@fncts/base/data/function/definition"; import type { TypeError } from "./ParseError"; /** * @tsplus static fncts.schema.ParseErrorOps drawTree * @tsplus getter fncts.schema.ParseError drawTree * @tsplus location "@fncts/schema/ParseError/TreeFormatter" */ export declare function format(error: ParseError): string; export declare function getMessage(error: ParseError): Maybe; export declare function formatTypeError(error: TypeError): string;