import type { ErrorLocation } from "./types.js"; /** Format an error message with source context, caret display, and position info. */ export declare function formatError(message: string, location: ErrorLocation, suggestion?: string): string;