/** * Maps a raw Git error to a user-friendly translated message. * Tests patterns from most specific to most generic, * falling back to the generic error message with the original cleaned text. */ export declare function mapGitError(error: unknown): string; /** * Maps a Git error with optional AI-powered contextual explanation. * Returns the static message immediately, enriched with Copilot explanation if available. */ export declare function mapGitErrorWithAI(error: unknown, context?: { command?: string; branch?: string; hasUncommitted?: boolean; }): Promise; //# sourceMappingURL=error-mapper.d.ts.map