/**
 * Error Utility Functions
 * Provides consistent error handling and formatting across the application
 */
/**
 * Convert unknown error to a readable error message string
 *
 * @param err - Unknown error object (could be Error, string, object, etc.)
 * @returns Formatted error message string
 *
 * @example
 * try {
 *   riskyOperation()
 * } catch (err) {
 *   const message = errorToMessage(err)
 *   logger.error('Operation failed:', message)
 * }
 */
export declare function errorToMessage(err: unknown): string;
/**
 * Convert unknown error to a detailed error message with stack trace (for logging)
 *
 * @param err - Unknown error object
 * @returns Detailed error message with stack if available
 */
export declare function errorToDetailedMessage(err: unknown): string;
//# sourceMappingURL=error-utils.d.ts.map