import type { CodeFrameOptions, ColorizeMethod } from "../../index.d.ts"; import type { VisulimaError } from "../visulima-error.d.ts"; export type Options = Omit & { color: CodeFrameOptions["color"] & { fileLine: ColorizeMethod; hint: ColorizeMethod; method: ColorizeMethod; title: ColorizeMethod; }; cwd: string; displayShortPath: boolean; filterStacktrace: ((line: string) => boolean) | undefined; framesMaxLimit: number; hideErrorCauseCodeView: boolean; hideErrorCodeView: boolean; hideErrorErrorsCodeView: boolean; hideErrorTitle: boolean; hideMessage: boolean; indentation: number | "\t"; prefix: string; }; export declare const renderError: (error: AggregateError | Error | VisulimaError, options?: Partial) => string;