/** * Enhanced error display formatting */ export interface ErrorContext { /** Main error title */ title: string; /** Reason for the error */ reason: string; /** Actionable suggestions for the user */ suggestions?: string[]; /** Additional context details */ details?: Record; /** Error code (if applicable) */ code?: string; } /** * Render an enhanced error panel with context and suggestions * * @example * renderError({ * title: 'Failed to connect to Azure OpenAI', * reason: 'Invalid API key or resource not found', * suggestions: [ * 'Check AZURE_OPENAI_API_KEY is set correctly', * 'Verify resource name: my-openai-resource', * "Run 'artemiskit init' to reconfigure" * ] * }) */ export declare function renderError(ctx: ErrorContext): string; /** * Render a warning panel (less severe than error) */ export declare function renderWarning(title: string, message: string, suggestions?: string[]): string; /** * Format provider-specific error messages with suggestions */ export declare function getProviderErrorContext(provider: string, error: Error): ErrorContext; //# sourceMappingURL=errors.d.ts.map