/**
 * Git error parsing utility.
 * Maps git stderr patterns to typed errors with user-friendly messages and hints.
 */
export declare enum GitErrorType {
    AUTH_FAILED = "auth_failed",
    NETWORK_ERROR = "network_error",
    MERGE_CONFLICT = "merge_conflict",
    UNCOMMITTED_CHANGES = "uncommitted_changes",
    BRANCH_EXISTS = "branch_exists",
    BRANCH_NOT_FOUND = "branch_not_found",
    REMOTE_REJECTED = "remote_rejected",
    PROTECTED_BRANCH = "protected_branch",
    DETACHED_HEAD = "detached_head",
    NOTHING_TO_COMMIT = "nothing_to_commit",
    UNKNOWN = "unknown"
}
export interface GitParsedError {
    type: GitErrorType;
    message: string;
    hint?: string;
}
/**
 * Parse git stderr output into a typed error with user-friendly message and hint.
 */
export declare function parseGitError(stderr: string): GitParsedError;
//# sourceMappingURL=error-parser.d.ts.map