export declare class EvolithError extends Error { code: string; context?: Record | undefined; constructor(message: string, code: string, context?: Record | undefined); } export declare class PlatformNotFoundError extends EvolithError { constructor(platform: string, hint?: string); } export declare class PhaseTransitionError extends EvolithError { constructor(from: string, to: string, reason: string); } export declare class CatalogLoadError extends EvolithError { constructor(catalog: string, cause: string); } export declare class ToolValidationError extends EvolithError { constructor(tool: string, reason: string); } export declare class CommandExecutionError extends EvolithError { constructor(command: string, exitCode: number, stderr: string); } export declare class ValidationError extends EvolithError { constructor(errors: string[]); } export declare class UserCancelledError extends EvolithError { constructor(message?: string); } export declare function isEvolithError(error: unknown): error is EvolithError; export declare function getErrorCode(error: unknown): string; export declare function getErrorContext(error: unknown): Record | undefined;