/** * Git Provider Error Handler * * Provides actionable error messages for common Git API errors (401, 403, 404, etc.) * with platform-specific guidance and troubleshooting steps. * * @module git-error-handler */ export interface GitApiError { status: number; message: string; platform: 'github' | 'gitlab' | 'bitbucket' | 'azure-devops'; operation: 'validate_repo' | 'validate_owner' | 'create_repo' | 'fetch_data'; resourceType?: 'repository' | 'organization' | 'user' | 'project' | 'namespace' | 'workspace'; resourceName?: string; } export interface ActionableError { title: string; message: string; suggestions: string[]; helpUrl?: string; } /** * Convert API error to actionable error with suggestions * * @param error - Git API error details * @returns Actionable error with troubleshooting steps */ export declare function getActionableError(error: GitApiError): ActionableError; /** * Format actionable error for display * * @param error - Actionable error * @returns Formatted error message */ export declare function formatActionableError(error: ActionableError): string; //# sourceMappingURL=git-error-handler.d.ts.map