interface ErrorContext { command: string; error: Error | string; suggestion?: string; } export declare function enhanceError(context: ErrorContext): string; export declare function handleError(error: Error | string, command: string, suggestion?: string): void; export declare function wrapCommand Promise>(command: string, fn: T): T; export {}; //# sourceMappingURL=enhanced-errors.d.ts.map