/**
 * Error Formatters
 *
 * Functions for formatting errors, warnings, success messages, and info
 * for terminal output and JSON consumption.
 */
import { ErrorContext } from "./error-templates.js";
/**
 * Format a stack trace for readability
 * Cleans up and simplifies stack traces for user-friendly display
 */
export declare function formatStackTrace(error: Error, maxLines?: number): string[];
/**
 * Format error for terminal output with improved UX
 */
export declare function formatError(ctx: ErrorContext): string;
/**
 * Format error as JSON for machine consumption
 */
export declare function formatErrorJson(ctx: ErrorContext): string;
/**
 * Print formatted error to stderr
 */
export declare function printError(ctx: ErrorContext): void;
/**
 * Print formatted error as JSON to stderr
 */
export declare function printErrorJson(ctx: ErrorContext): void;
/**
 * Format a warning message
 */
export declare function formatWarning(message: string, suggestion?: string): string;
/**
 * Format a success message
 */
export declare function formatSuccess(message: string, details?: string[]): string;
/**
 * Format an info message
 */
export declare function formatInfo(message: string): string;
