export type InterpreterDiagnostic = { kind: string; filename: string; line: number; column: number; message: string; }; export type FormatErrorOptions = { filename?: string; hostCallName?: string; maxMessageLength?: number; source?: string; }; export declare function formatInterpreterError(source: string, error: InterpreterDiagnostic): string; export declare function formatInterpreterError(error: unknown, options?: FormatErrorOptions): string;